Define constructors for state.hpp explicitly

This commit is contained in:
2025-11-27 01:57:10 +00:00
parent 0008c31f53
commit 6f620644bf

View File

@@ -24,7 +24,7 @@ namespace cw::state
std::mutex mutex_queue; std::mutex mutex_queue;
std::mutex mutex_allocator; std::mutex mutex_allocator;
State(void); State(void) {};
}; };
struct DrawState struct DrawState
@@ -36,7 +36,7 @@ namespace cw::state
f64 lower_val, upper_val; f64 lower_val, upper_val;
} bounds; } bounds;
DrawState(const State &); DrawState(const State &state) : state{state} {};
void compute_bounds(void); void compute_bounds(void);
}; };