document_db_test.cc: pass const string param by reference
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
177caca428
commit
8ff0b40955
@ -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…
x
Reference in New Issue
Block a user