mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Explicitly initialize atomic value; change its type to unsigned.
PiperOrigin-RevId: 501935970
This commit is contained in:
@@ -2739,8 +2739,7 @@ namespace winrt::impl
|
||||
}
|
||||
|
||||
private:
|
||||
|
||||
std::atomic<int32_t> m_count;
|
||||
std::atomic<uint32_t> m_count{0};
|
||||
};
|
||||
|
||||
constexpr uint32_t hstring_reference_flag{ 1 };
|
||||
|
||||
Reference in New Issue
Block a user