summaryrefslogtreecommitdiff
path: root/src/mongo/bson/oid.cpp
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2012-01-25 09:34:38 -0500
committerEliot Horowitz <eliot@10gen.com>2012-01-25 09:34:38 -0500
commit730dfc290694c70ea8b51207d3a4636ecb0348cd (patch)
tree0370d9a5ee163208bc4218ec55e1f85963c7cc6b /src/mongo/bson/oid.cpp
parent232cc17a547042ed5ce77ece74fe374d3f8ef87d (diff)
downloadmongo-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.cpp5
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