diff --git a/Database/CrestApi/doc/crest_example.cxx b/Database/CrestApi/doc/crest_example.cxx index e41c3d6b3c590aabee7cdaffad35946869e8e6a4..813870458fbfaac41cc15c031f90d51f635bf9ac 100644 --- a/Database/CrestApi/doc/crest_example.cxx +++ b/Database/CrestApi/doc/crest_example.cxx @@ -26,7 +26,7 @@ void print_path() { std::cout << (std::string) SURL << std::endl; } -bool createDirTree(const std::string full_path) { +bool createDirTree(const std::string& full_path) { size_t pos = 0; bool ret_val = true; @@ -168,7 +168,7 @@ void testListTagsParams() { } } -void testListTagsParams(std::string name) { +void testListTagsParams(const std::string& name) { std::cout << std::endl << "test: listTagsParams" << std::endl; CrestClientExt myCrestClient = CrestClientExt((std::string) SURL);