summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonobjbuilder.h')
-rw-r--r--src/mongo/bson/bsonobjbuilder.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/mongo/bson/bsonobjbuilder.h b/src/mongo/bson/bsonobjbuilder.h
index 3b263ca3355..38dae8234fa 100644
--- a/src/mongo/bson/bsonobjbuilder.h
+++ b/src/mongo/bson/bsonobjbuilder.h
@@ -500,11 +500,6 @@ public:
return appendSymbol(fieldName, symbol.symbol);
}
- /** Implements builder interface but no-op in ObjBuilder */
- void appendNull() {
- msgasserted(16234, "Invalid call to appendNull in BSONObj Builder.");
- }
-
/** Append a Null element to the object */
BSONObjBuilder& appendNull(StringData fieldName) {
_b.appendNum((char)jstNULL);