summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonobjbuilder.h
diff options
context:
space:
mode:
authorEric Milkie <milkie@10gen.com>2015-04-03 13:41:34 -0400
committerEric Milkie <milkie@10gen.com>2015-04-06 08:26:04 -0400
commit9668b2dd7440adcd129ae395d57ea021b3623b01 (patch)
tree21648e044ff8b1c0377188d5bbc293c5fd9e17ba /src/mongo/bson/bsonobjbuilder.h
parentf366e1ecec16bae959f04287f40adfb87711e8af (diff)
downloadmongo-9668b2dd7440adcd129ae395d57ea021b3623b01.tar.gz
SERVER-17880 remove ReplTime
Diffstat (limited to 'src/mongo/bson/bsonobjbuilder.h')
-rw-r--r--src/mongo/bson/bsonobjbuilder.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/mongo/bson/bsonobjbuilder.h b/src/mongo/bson/bsonobjbuilder.h
index b6e667e3322..50ad4480669 100644
--- a/src/mongo/bson/bsonobjbuilder.h
+++ b/src/mongo/bson/bsonobjbuilder.h
@@ -472,13 +472,6 @@ namespace mongo {
*/
BSONObjBuilder& append(StringData fieldName, OpTime optime);
- /**
- * Alternative way to store an OpTime in BSON. Pass the OpTime as a Date, as follows:
- *
- * builder.appendTimestamp("field", optime.asDate());
- *
- * This captures both the secs and inc fields.
- */
BSONObjBuilder& appendTimestamp( StringData fieldName , unsigned long long val ) {
_b.appendNum( (char) Timestamp );
_b.appendStr( fieldName );