mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
BEGIN_PUBLIC
Microsoft has updated the winrt library END_PUBLC PiperOrigin-RevId: 387168248
This commit is contained in:
@@ -29,12 +29,8 @@ class AtomicUint32 : public api::AtomicUint32 {
|
||||
explicit AtomicUint32(std::int32_t value) : value_(value) {}
|
||||
~AtomicUint32() override = default;
|
||||
|
||||
std::uint32_t Get() const override {
|
||||
return value_;
|
||||
}
|
||||
void Set(std::uint32_t value) override {
|
||||
value_ = value;
|
||||
}
|
||||
std::uint32_t Get() const override { return value_; }
|
||||
void Set(std::uint32_t value) override { value_ = value; }
|
||||
|
||||
private:
|
||||
std::atomic<std::uint32_t> value_;
|
||||
|
||||
Reference in New Issue
Block a user