summaryrefslogtreecommitdiff
path: root/src/mongo/db/record_id.h
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-02-26 16:02:02 -0500
committerMathias Stearn <mathias@10gen.com>2015-03-05 13:22:18 -0500
commita66cd57b62614a11ce02cce5e9b072cda6286762 (patch)
treef1e7368ef3a5f73ec8a1d16a02339d54b76d49e4 /src/mongo/db/record_id.h
parent10192c28b06fd69d3cc968df26f809b047a07a87 (diff)
downloadmongo-a66cd57b62614a11ce02cce5e9b072cda6286762.tar.gz
Fix typo in RecordId relational ops
Diffstat (limited to 'src/mongo/db/record_id.h')
-rw-r--r--src/mongo/db/record_id.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mongo/db/record_id.h b/src/mongo/db/record_id.h
index 5db7f7233df..58514b652ee 100644
--- a/src/mongo/db/record_id.h
+++ b/src/mongo/db/record_id.h
@@ -114,12 +114,12 @@ namespace mongo {
int64_t _repr;
};
- inline bool operator==(RecordId rhs, RecordId lhs) { return rhs.repr() == lhs.repr(); }
- inline bool operator!=(RecordId rhs, RecordId lhs) { return rhs.repr() != lhs.repr(); }
- inline bool operator< (RecordId rhs, RecordId lhs) { return rhs.repr() < lhs.repr(); }
- inline bool operator<=(RecordId rhs, RecordId lhs) { return rhs.repr() <= lhs.repr(); }
- inline bool operator> (RecordId rhs, RecordId lhs) { return rhs.repr() > lhs.repr(); }
- inline bool operator>=(RecordId rhs, RecordId lhs) { return rhs.repr() >= lhs.repr(); }
+ inline bool operator==(RecordId lhs, RecordId rhs) { return lhs.repr() == rhs.repr(); }
+ inline bool operator!=(RecordId lhs, RecordId rhs) { return lhs.repr() != rhs.repr(); }
+ inline bool operator< (RecordId lhs, RecordId rhs) { return lhs.repr() < rhs.repr(); }
+ inline bool operator<=(RecordId lhs, RecordId rhs) { return lhs.repr() <= rhs.repr(); }
+ inline bool operator> (RecordId lhs, RecordId rhs) { return lhs.repr() > rhs.repr(); }
+ inline bool operator>=(RecordId lhs, RecordId rhs) { return lhs.repr() >= rhs.repr(); }
inline StringBuilder& operator<<( StringBuilder& stream, const RecordId& id ) {
return stream << "RecordId(" << id.repr() << ')';