diff options
author | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 09:34:38 -0500 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2012-01-25 09:34:38 -0500 |
commit | 730dfc290694c70ea8b51207d3a4636ecb0348cd (patch) | |
tree | 0370d9a5ee163208bc4218ec55e1f85963c7cc6b /src/mongo/bson/oid.cpp | |
parent | 232cc17a547042ed5ce77ece74fe374d3f8ef87d (diff) | |
download | mongo-730dfc290694c70ea8b51207d3a4636ecb0348cd.tar.gz |
hack for older boost versions on 32-bit platforms
Diffstat (limited to 'src/mongo/bson/oid.cpp')
-rw-r--r-- | src/mongo/bson/oid.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mongo/bson/oid.cpp b/src/mongo/bson/oid.cpp index d93202b9bc2..77c7cd0687f 100644 --- a/src/mongo/bson/oid.cpp +++ b/src/mongo/bson/oid.cpp @@ -29,8 +29,9 @@ BOOST_STATIC_ASSERT( sizeof(mongo::OID) == 12 ); namespace mongo { void OID::hash_combine(size_t &seed) const { - boost::hash_combine(seed, a); - boost::hash_combine(seed, b); + boost::hash_combine(seed, x); + boost::hash_combine(seed, y); + boost::hash_combine(seed, z); } // machine # before folding in the process id |