From 1f6874dd53f906ab6a858bed940eb97a7cf3a2f7 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Sun, 9 Jan 2022 14:41:48 -0500 Subject: [PATCH] add explicit --- src/zm_time.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_time.h b/src/zm_time.h index 7aaea7316..d9d131944 100644 --- a/src/zm_time.h +++ b/src/zm_time.h @@ -91,7 +91,7 @@ Duration duration_cast(timeval const &tv) { // class TimeSegmentAdder { public: - TimeSegmentAdder(Microseconds &in_target) : + explicit TimeSegmentAdder(Microseconds &in_target) : target_(in_target), start_time_(std::chrono::steady_clock::now()), finished_(false) {