summaryrefslogtreecommitdiff
path: root/src/mongo/bson/bsonelement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/bson/bsonelement.cpp')
-rw-r--r--src/mongo/bson/bsonelement.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mongo/bson/bsonelement.cpp b/src/mongo/bson/bsonelement.cpp
index 799da76b11d..72d104b15d6 100644
--- a/src/mongo/bson/bsonelement.cpp
+++ b/src/mongo/bson/bsonelement.cpp
@@ -843,7 +843,8 @@ int compareElementValues(const BSONElement& l, const BSONElement& r) {
case Bool:
return *l.value() - *r.value();
case bsonTimestamp:
- // unsigned compare for timestamps - note they are not really dates but (ordinal + time_t)
+ // unsigned compare for timestamps - note they are not really dates but (ordinal +
+ // time_t)
if (l.date() < r.date())
return -1;
return l.date() == r.date() ? 0 : 1;