From 6f620644bf481b100ddf10289a31086c07d833b9 Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Thu, 27 Nov 2025 01:57:10 +0000 Subject: [PATCH] Define constructors for state.hpp explicitly --- src/state.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/state.hpp b/src/state.hpp index 00aba81..aa14e36 100644 --- a/src/state.hpp +++ b/src/state.hpp @@ -24,7 +24,7 @@ namespace cw::state std::mutex mutex_queue; std::mutex mutex_allocator; - State(void); + State(void) {}; }; struct DrawState @@ -36,7 +36,7 @@ namespace cw::state f64 lower_val, upper_val; } bounds; - DrawState(const State &); + DrawState(const State &state) : state{state} {}; void compute_bounds(void); };