summaryrefslogtreecommitdiff
path: root/src/mongo/bson/oid.h
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-12-28 09:44:47 -0500
committerdwight <dwight@10gen.com>2011-12-28 09:44:47 -0500
commit6795672aaa2bb9864e8aa868a4ab67b9a70adf0b (patch)
tree8428935cdfc7525c2d809f906e110223fee77cad /src/mongo/bson/oid.h
parent05ff88039a8a5f2a7879a9544f5696f12bbc0dc3 (diff)
downloadmongo-6795672aaa2bb9864e8aa868a4ab67b9a70adf0b.tar.gz
fix a case where boost assert definition snuck back into the bson include headers
Diffstat (limited to 'src/mongo/bson/oid.h')
-rw-r--r--src/mongo/bson/oid.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mongo/bson/oid.h b/src/mongo/bson/oid.h
index f0006238f89..e1faf3b7526 100644
--- a/src/mongo/bson/oid.h
+++ b/src/mongo/bson/oid.h
@@ -17,7 +17,6 @@
#pragma once
-#include <boost/functional/hash.hpp>
#include "../util/hex.h"
namespace mongo {
@@ -75,10 +74,7 @@ namespace mongo {
bool isSet() const { return a || b; }
- void hash_combine(size_t &seed) const {
- boost::hash_combine(seed, a);
- boost::hash_combine(seed, b);
- }
+ void hash_combine(size_t &seed) const;
/** call this after a fork to update the process id */
static void justForked();