diff options
Diffstat (limited to 'src/mongo/db/field_parser.h')
-rw-r--r-- | src/mongo/db/field_parser.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/mongo/db/field_parser.h b/src/mongo/db/field_parser.h index 92a3df37e39..2b8da3eaa0a 100644 --- a/src/mongo/db/field_parser.h +++ b/src/mongo/db/field_parser.h @@ -30,7 +30,6 @@ #include <string> -#include "mongo/bson/bson_field.h" #include "mongo/db/jsobj.h" #include "mongo/s/bson_serializable.h" #include "mongo/util/time_support.h" @@ -107,13 +106,13 @@ namespace mongo { std::string* errMsg = NULL ); static FieldState extract( BSONObj doc, - const BSONField<OpTime>& field, - OpTime* out, + const BSONField<Timestamp>& field, + Timestamp* out, std::string* errMsg = NULL ); static FieldState extract( BSONElement elem, - const BSONField<OpTime>& field, - OpTime* out, + const BSONField<Timestamp>& field, + Timestamp* out, std::string* errMsg = NULL ); static FieldState extract( BSONObj doc, |