summaryrefslogtreecommitdiff
path: root/src/mongo/bson/oid.cpp
diff options
context:
space:
mode:
authorTad Marshall <tad@10gen.com>2012-06-01 05:18:31 -0400
committerTad Marshall <tad@10gen.com>2012-06-01 05:18:31 -0400
commit4e4e5b1f48799a8dcaf993e4bd3d4c439d50b7fa (patch)
tree4adef3871e0c9da00bc8982fe29019fbc6945d38 /src/mongo/bson/oid.cpp
parentb26bb992b458fa45af01d3f51e4ce8725f96ee70 (diff)
downloadmongo-4e4e5b1f48799a8dcaf993e4bd3d4c439d50b7fa.tar.gz
Headers, whitespace -- bson/oid.cpp
Diffstat (limited to 'src/mongo/bson/oid.cpp')
-rw-r--r--src/mongo/bson/oid.cpp23
1 files changed, 13 insertions, 10 deletions
diff --git a/src/mongo/bson/oid.cpp b/src/mongo/bson/oid.cpp
index b70b96352f8..fb7d6ead891 100644
--- a/src/mongo/bson/oid.cpp
+++ b/src/mongo/bson/oid.cpp
@@ -15,23 +15,26 @@
* limitations under the License.
*/
-#include "pch.h"
-#include "oid.h"
-#include "util/atomic_int.h"
-#include "../db/nonce.h"
-#include "bsonobjbuilder.h"
+#include "mongo/pch.h"
+
#include <boost/functional/hash.hpp>
+
+#include "mongo/bson/bsonobjbuilder.h"
+#include "mongo/bson/oid.h"
+#include "mongo/bson/util/atomic_int.h"
+#include "mongo/db/nonce.h"
+
#define verify MONGO_verify
BOOST_STATIC_ASSERT( sizeof(mongo::OID) == 12 );
namespace mongo {
- void OID::hash_combine(size_t &seed) const {
- boost::hash_combine(seed, x);
- boost::hash_combine(seed, y);
- boost::hash_combine(seed, z);
- }
+ void OID::hash_combine(size_t &seed) const {
+ boost::hash_combine(seed, x);
+ boost::hash_combine(seed, y);
+ boost::hash_combine(seed, z);
+ }
// machine # before folding in the process id
OID::MachineAndPid OID::ourMachine;