From e0629feb1effa55b797929d77fcb813abda6fca9 Mon Sep 17 00:00:00 2001 From: ncave <777696+ncave@users.noreply.github.com> Date: Sat, 26 Nov 2022 13:59:48 -0800 Subject: [PATCH] Fixed #208 --- libcoz/progress_point.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libcoz/progress_point.h b/libcoz/progress_point.h index bebb4df..127c470 100644 --- a/libcoz/progress_point.h +++ b/libcoz/progress_point.h @@ -34,7 +34,7 @@ public: class saved; /// Create a throughput progress point with a given name - throughput_point(const std::string& name) : _name(name) {} + throughput_point(const std::string& name) : _name(name), _counter() {} /// Save the state of this progress point saved* save() const { @@ -97,7 +97,7 @@ public: class saved; /// Create a latency progress point with a given name - latency_point(const std::string& name) : _name(name) {} + latency_point(const std::string& name) : _name(name), _begin_counter(), _end_counter() {} /// Save the state of this progress point saved* save() const {