document_db.cc: pass const parameter by reference
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
4cc8643baf
commit
0de452ee9f
@ -376,7 +376,7 @@ class IndexKey {
|
||||
|
||||
class SimpleSortedIndex : public Index {
|
||||
public:
|
||||
SimpleSortedIndex(const std::string field, const std::string& name)
|
||||
SimpleSortedIndex(const std::string& field, const std::string& name)
|
||||
: field_(field), name_(name) {}
|
||||
|
||||
virtual const char* Name() const override { return name_.c_str(); }
|
||||
|
Loading…
Reference in New Issue
Block a user