summaryrefslogtreecommitdiff
path: root/src/mongo/s/chunk_version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/s/chunk_version.h')
-rw-r--r--src/mongo/s/chunk_version.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/s/chunk_version.h b/src/mongo/s/chunk_version.h
index 720fd48de53..50f121b97ee 100644
--- a/src/mongo/s/chunk_version.h
+++ b/src/mongo/s/chunk_version.h
@@ -264,7 +264,7 @@ namespace mongo {
return ChunkVersion( 0, 0, el.OID() );
}
- if( type == Timestamp || type == Date ){
+ if( type == bsonTimestamp || type == Date ){
return fromDeprecatedLong( el._numberLong(), OID() );
}