summaryrefslogtreecommitdiff
path: root/src/mongo/bson/util
diff options
context:
space:
mode:
authorAdam Chelminski <adam.chelminski@mongodb.com>2016-08-15 10:47:55 -0400
committerAdam Chelminski <adam.chelminski@mongodb.com>2016-08-15 10:47:55 -0400
commitd19d5cdb3a2dd6905361545239c7c37d07cf5aba (patch)
tree1a695b8aeda09d3baea8bf3481ec30f7b1ece625 /src/mongo/bson/util
parent0b2645558c9715128dceb524660b603e9d8532d6 (diff)
downloadmongo-d19d5cdb3a2dd6905361545239c7c37d07cf5aba.tar.gz
Revert "SERVER-13517 Specialize operator<< for BSONType for std::ostream, LogstreamBuilder, and StringBuilder"
This reverts commit 0b2645558c9715128dceb524660b603e9d8532d6.
Diffstat (limited to 'src/mongo/bson/util')
-rw-r--r--src/mongo/bson/util/builder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/bson/util/builder.h b/src/mongo/bson/util/builder.h
index e6d29ceb175..2cce0d93ad5 100644
--- a/src/mongo/bson/util/builder.h
+++ b/src/mongo/bson/util/builder.h
@@ -41,7 +41,6 @@
#include "mongo/base/data_view.h"
#include "mongo/base/disallow_copying.h"
#include "mongo/base/string_data.h"
-#include "mongo/bson/bsontypes.h"
#include "mongo/bson/inline_decls.h"
#include "mongo/platform/decimal128.h"
#include "mongo/stdx/type_traits.h"
@@ -412,10 +411,6 @@ public:
append(str);
return *this;
}
- StringBuilderImpl& operator<<(BSONType type) {
- append(typeName(type));
- return *this;
- }
void appendDoubleNice(double x) {
const int prev = _buf.l;