summaryrefslogtreecommitdiff
path: root/bson
diff options
context:
space:
mode:
authordwight <dwight@10gen.com>2011-06-05 18:09:14 -0400
committerdwight <dwight@10gen.com>2011-06-05 18:09:14 -0400
commitc7724b405ab3966bd61c50a6b147752b9c63a6f5 (patch)
tree310eade9db722f95f77e735fc2f0bddefcc54420 /bson
parentd6c5a2336447182d1882d5b5db04384151bc4670 (diff)
downloadmongo-c7724b405ab3966bd61c50a6b147752b9c63a6f5.tar.gz
cleaning
Diffstat (limited to 'bson')
-rw-r--r--bson/bson.h14
1 files changed, 1 insertions, 13 deletions
diff --git a/bson/bson.h b/bson/bson.h
index 9b82c9dd299..7bb39ca9f24 100644
--- a/bson/bson.h
+++ b/bson/bson.h
@@ -23,7 +23,7 @@
*/
/**
- bo and its helpers
+ Main include file for C++ BSON module when using standalone (sans MongoDB client).
"BSON" stands for "binary JSON" -- ie a binary way to represent objects that would be
represented in JSON (plus a few extensions useful for databases & other languages).
@@ -109,15 +109,3 @@ namespace mongo {
#include "bsonobjbuilder.h"
#include "bsonobjiterator.h"
#include "bson-inl.h"
-
-namespace mongo {
-
- inline unsigned getRandomNumber() {
-#if defined(_WIN32)
- return rand();
-#else
- return random();
-#endif
- }
-
-}