summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonelement.cpp')
-rw-r--r--src/mongo/bson/bsonelement.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mongo/bson/bsonelement.cpp b/src/mongo/bson/bsonelement.cpp
index 4b26d85264e..fee2472bd39 100644
--- a/src/mongo/bson/bsonelement.cpp
+++ b/src/mongo/bson/bsonelement.cpp
@@ -38,9 +38,13 @@
#include "mongo/util/log.h"
#include "mongo/util/mongoutils/str.h"
-namespace mongo {
+namespace mongo {
namespace str = mongoutils::str;
+ using std::dec;
+ using std::hex;
+ using std::string;
+
string BSONElement::jsonString( JsonStringFormat format, bool includeFieldNames, int pretty ) const {
int sign;