summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
diff options
context:
space:
mode:
authorNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-03-05 09:49:29 -0500
committerNick Zolnierz <nicholas.zolnierz@mongodb.com>2018-03-05 12:23:39 -0500
commit74177edb35b6ce7594e4751051010ceade592484 (patch)
tree3dad385af5647a24291e8ab26ca3fdcf164e5dfd /src/mongo/bson/bsonobjbuilder.h
parent9a364b4c60a3f249947468a918071e3bf586dabc (diff)
downloadmongo-74177edb35b6ce7594e4751051010ceade592484.tar.gz
Revert "SERVER-33065 CommandReplyBuilder and CommandInvocation"
This reverts commit ad94e51e0dd40b0d0c38215a36caf75a4be48415.
Diffstat (limited to 'src/mongo/bson/bsonobjbuilder.h')
-rw-r--r--src/mongo/bson/bsonobjbuilder.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mongo/bson/bsonobjbuilder.h b/src/mongo/bson/bsonobjbuilder.h
index c8aed97e15b..38dae8234fa 100644
--- a/src/mongo/bson/bsonobjbuilder.h
+++ b/src/mongo/bson/bsonobjbuilder.h
@@ -172,14 +172,6 @@ public:
}
}
- /**
- * The start offset of the object being built by this builder within its buffer.
- * Needed for the object-resuming constructor.
- */
- std::size_t offset() const {
- return _offset;
- }
-
/** add all the fields from the object specified to this object */
BSONObjBuilder& appendElements(const BSONObj& x);