mirror of
https://github.com/gabime/spdlog.git
synced 2026-01-19 04:52:09 +00:00
fix: initialize null_atomic_int::value to zero (#3513)
This commit is contained in:
@@ -15,7 +15,7 @@ struct null_mutex {
|
||||
};
|
||||
|
||||
struct null_atomic_int {
|
||||
int value;
|
||||
int value{0};
|
||||
null_atomic_int() = default;
|
||||
|
||||
explicit null_atomic_int(int new_value)
|
||||
|
||||
Reference in New Issue
Block a user