Fix cppcheck issues: passedByValue

This commit is contained in:
Luis Díaz Más
2018-10-11 08:51:04 +02:00
parent 989acd18c7
commit c43d998457
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -101,7 +101,7 @@ Jzon::Node& recursivelyBuildTree(Jzon::Node& root,Tokens& tokens,size_t k)
}
// build the json tree for this key. return location and discover the name
Jzon::Node& objectForKey(const std::string Key,Jzon::Object& root,std::string& name,Exiv2::StringSet* pNS=NULL)
Jzon::Node& objectForKey(const std::string& Key,Jzon::Object& root,std::string& name,Exiv2::StringSet* pNS=NULL)
{
// Parse the key
Tokens tokens ;
@@ -351,4 +351,4 @@ int main(int argc, char* const argv[])
std::cout << "Caught Exiv2 exception '" << e.what() << "'\n";
return -1;
}
}
}