summaryrefslogtreecommitdiff
path: root/src/mongo/db/signed_logical_time.h
diff options
context:
space:
mode:
authorMisha Tyulenev <misha@mongodb.com>2017-02-03 18:50:54 -0500
committerMisha Tyulenev <misha@mongodb.com>2017-02-03 18:51:34 -0500
commit91bb1bca8e8b4f66a610409ec0ebe10245a02e5a (patch)
tree40ec5c3c3bbe68c7bfcb11ae9eb027922f285cc3 /src/mongo/db/signed_logical_time.h
parent58292592979ff9277ec34390469a1541315104c0 (diff)
downloadmongo-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.h2
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)) {}