diff options
author | dwight <dwight@10gen.com> | 2011-06-05 18:09:14 -0400 |
---|---|---|
committer | dwight <dwight@10gen.com> | 2011-06-05 18:09:14 -0400 |
commit | c7724b405ab3966bd61c50a6b147752b9c63a6f5 (patch) | |
tree | 310eade9db722f95f77e735fc2f0bddefcc54420 /bson | |
parent | d6c5a2336447182d1882d5b5db04384151bc4670 (diff) | |
download | mongo-c7724b405ab3966bd61c50a6b147752b9c63a6f5.tar.gz |
cleaning
Diffstat (limited to 'bson')
-rw-r--r-- | bson/bson.h | 14 |
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 - } - -} |