diff options
author | Hari Khalsa <hkhalsa@10gen.com> | 2013-11-18 23:03:10 -0500 |
---|---|---|
committer | Hari Khalsa <hkhalsa@10gen.com> | 2013-12-16 20:58:00 -0500 |
commit | f69b8e905df73ca663910f428a207873ab2bc625 (patch) | |
tree | 452cee811e34a01ff74dc3fc455dd748c3545083 /src/mongo/db/hasher.h | |
parent | d68f6bccbf4f1acdf09b1546ee9883821b7a9edd (diff) | |
download | mongo-f69b8e905df73ca663910f428a207873ab2bc625.tar.gz |
SERVER-10026 skeleton of cache for query plans
Diffstat (limited to 'src/mongo/db/hasher.h')
-rw-r--r-- | src/mongo/db/hasher.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mongo/db/hasher.h b/src/mongo/db/hasher.h index 0f93d4ff244..2410306038d 100644 --- a/src/mongo/db/hasher.h +++ b/src/mongo/db/hasher.h @@ -100,9 +100,6 @@ namespace mongo { */ static long long int hash64( const BSONElement& e , HashSeed seed ); - private: - BSONElementHasher(); - /* This incrementally computes the hash of BSONElement "e" * using hash function "h". If "includeFieldName" is true, * then the name of the field is hashed in between the type of @@ -113,6 +110,9 @@ namespace mongo { */ static void recursiveHash( Hasher* h , const BSONElement& e , bool includeFieldName ); + private: + BSONElementHasher(); + }; } |