diff options
Diffstat (limited to 'Firestore/core/src/firebase/firestore/util/executor_std.cc')
-rw-r--r-- | Firestore/core/src/firebase/firestore/util/executor_std.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Firestore/core/src/firebase/firestore/util/executor_std.cc b/Firestore/core/src/firebase/firestore/util/executor_std.cc index f03a712..a87ec20 100644 --- a/Firestore/core/src/firebase/firestore/util/executor_std.cc +++ b/Firestore/core/src/firebase/firestore/util/executor_std.cc @@ -64,8 +64,7 @@ DelayedOperation ExecutorStd::Schedule(const Milliseconds delay, // While negative delay can be interpreted as a request for immediate // execution, supporting it would provide a hacky way to modify FIFO ordering // of immediate operations. - FIREBASE_ASSERT_MESSAGE(delay.count() >= 0, - "Schedule: delay cannot be negative"); + HARD_ASSERT(delay.count() >= 0, "Schedule: delay cannot be negative"); namespace chr = std::chrono; const auto now = chr::time_point_cast<Milliseconds>(chr::steady_clock::now()); |