diff options
author | Misha Tyulenev <misha@mongodb.com> | 2017-02-03 18:50:54 -0500 |
---|---|---|
committer | Misha Tyulenev <misha@mongodb.com> | 2017-02-03 18:51:34 -0500 |
commit | 91bb1bca8e8b4f66a610409ec0ebe10245a02e5a (patch) | |
tree | 40ec5c3c3bbe68c7bfcb11ae9eb027922f285cc3 /src/mongo/db/signed_logical_time.h | |
parent | 58292592979ff9277ec34390469a1541315104c0 (diff) | |
download | mongo-91bb1bca8e8b4f66a610409ec0ebe10245a02e5a.tar.gz |
SERVER-27745: Implement LogicalClock
Diffstat (limited to 'src/mongo/db/signed_logical_time.h')
-rw-r--r-- | src/mongo/db/signed_logical_time.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mongo/db/signed_logical_time.h b/src/mongo/db/signed_logical_time.h index 12c8d373d49..52cf1230e58 100644 --- a/src/mongo/db/signed_logical_time.h +++ b/src/mongo/db/signed_logical_time.h @@ -42,6 +42,8 @@ class SignedLogicalTime { public: using TimeProof = TimeProofService::TimeProof; + SignedLogicalTime() = default; + explicit SignedLogicalTime(LogicalTime time, TimeProof proof) : _time(std::move(time)), _proof(std::move(proof)) {} |