mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Fixed variable initialization issue in atomic_boolean
PiperOrigin-RevId: 501327583
This commit is contained in:
committed by
Copybara-Service
parent
7a9916f726
commit
5326cec7ab
@@ -34,7 +34,7 @@ class AtomicBoolean : public api::AtomicBoolean {
|
||||
bool Set(bool value) override { return atomic_boolean_.exchange(value); };
|
||||
|
||||
private:
|
||||
std::atomic_bool atomic_boolean_;
|
||||
std::atomic_bool atomic_boolean_ = false;
|
||||
};
|
||||
|
||||
} // namespace windows
|
||||
|
||||
Reference in New Issue
Block a user