aboutsummaryrefslogtreecommitdiffhomepage
path: root/Firestore/core/src/firebase/firestore/timestamp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Firestore/core/src/firebase/firestore/timestamp.cc')
-rw-r--r--Firestore/core/src/firebase/firestore/timestamp.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Firestore/core/src/firebase/firestore/timestamp.cc b/Firestore/core/src/firebase/firestore/timestamp.cc
index 7d947c5..a5f0121 100644
--- a/Firestore/core/src/firebase/firestore/timestamp.cc
+++ b/Firestore/core/src/firebase/firestore/timestamp.cc
@@ -48,7 +48,7 @@ Timestamp Timestamp::Now() {
}
Timestamp Timestamp::FromTimeT(const time_t seconds_since_unix_epoch) {
- return Timestamp(seconds_since_unix_epoch, 0);
+ return {seconds_since_unix_epoch, 0};
}
#if !defined(_STLPORT_VERSION)