Skip to content

Commit

Permalink
document_db.cc: pass const parameter by reference
Browse files Browse the repository at this point in the history
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
  • Loading branch information
dalgaaf committed Sep 30, 2014
1 parent 4cc8643 commit 0de452e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/document/document_db.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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(); }
Expand Down

0 comments on commit 0de452e

Please sign in to comment.