summaryrefslogtreecommitdiff
path: root/src/mongo/db/pipeline/document.h
diff options
context:
space:
mode:
authorDavid Storch <david.storch@10gen.com>2016-07-15 18:15:12 -0400
committerDavid Storch <david.storch@10gen.com>2016-07-19 22:35:21 -0400
commit7e986cc77f121e3af9a5f1217e89913745fc07f9 (patch)
treee29c4ec325199937b2723a500a462e6c125616ea /src/mongo/db/pipeline/document.h
parent0b32158c9cb44b31078ca923ef5c8fff755c952a (diff)
downloadmongo-7e986cc77f121e3af9a5f1217e89913745fc07f9.tar.gz
SERVER-23990 add ValueComparator::Hasher for collation-aware Value hashing
Diffstat (limited to 'src/mongo/db/pipeline/document.h')
-rw-r--r--src/mongo/db/pipeline/document.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/db/pipeline/document.h b/src/mongo/db/pipeline/document.h
index 0a0220964bd..288036a1ba4 100644
--- a/src/mongo/db/pipeline/document.h
+++ b/src/mongo/db/pipeline/document.h
@@ -34,6 +34,7 @@
#include <boost/intrusive_ptr.hpp>
#include "mongo/base/string_data.h"
+#include "mongo/base/string_data_comparator_interface.h"
#include "mongo/bson/util/builder.h"
namespace mongo {
@@ -188,7 +189,7 @@ public:
* Meant to be used to create composite hashes suitable for
* hashed container classes such as unordered_map.
*/
- void hash_combine(size_t& seed) const;
+ void hash_combine(size_t& seed, const StringData::ComparatorInterface* stringComparator) const;
/**
* Add this document to the BSONObj under construction with the given BSONObjBuilder.