summaryrefslogtreecommitdiff
path: root/db/jsobj.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/jsobj.h')
-rw-r--r--db/jsobj.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/jsobj.h b/db/jsobj.h
index cef9c7b796a..8f9c8b0e261 100644
--- a/db/jsobj.h
+++ b/db/jsobj.h
@@ -30,6 +30,8 @@
#include <set>
+namespace mongo {
+
class BSONObj;
class Record;
class BSONObjBuilder;
@@ -765,8 +767,12 @@ public:
};
*/
+} // namespace mongo
+
#include "matcher.h"
+namespace mongo {
+
extern BSONObj maxKey;
extern BSONObj minKey;
@@ -869,3 +875,5 @@ inline void BSONObj::validateEmpty() {
*this = emptyObj;
}
+
+} // namespace mongo