Skip to content

Commit 0de452e

Browse files
committed
document_db.cc: pass const parameter by reference
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
1 parent 4cc8643 commit 0de452e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utilities/document/document_db.cc

+1-1
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ class IndexKey {
376376

377377
class SimpleSortedIndex : public Index {
378378
public:
379-
SimpleSortedIndex(const std::string field, const std::string& name)
379+
SimpleSortedIndex(const std::string& field, const std::string& name)
380380
: field_(field), name_(name) {}
381381

382382
virtual const char* Name() const override { return name_.c_str(); }

0 commit comments

Comments
 (0)