Fix std::atomic compiling error (#15781)

This commit is contained in:
SongGuyang 2021-05-13 23:27:45 +08:00 committed by GitHub
parent 19462e43d6
commit 40b2face74
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -447,7 +447,7 @@ class RayletClient : public RayletClientInterface {
std::unique_ptr<RayletConnection> conn_;
/// The number of object ID pin RPCs currently in flight.
std::atomic_int64_t pins_in_flight_{0};
std::atomic<int64_t> pins_in_flight_{0};
};
} // namespace raylet