document_db_test.cc: pass const string param by reference

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
main
Danny Al-Gaaf 11 years ago
parent 177caca428
commit 8ff0b40955
  1. 2
      utilities/document/document_db_test.cc

@ -56,7 +56,7 @@ class DocumentDBTest {
} }
} }
JSONDocument* Parse(const std::string doc) { JSONDocument* Parse(const std::string& doc) {
return JSONDocument::ParseJSON(ConvertQuotes(doc).c_str()); return JSONDocument::ParseJSON(ConvertQuotes(doc).c_str());
} }

Loading…
Cancel
Save