mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-20 21:43:06 +01:00
Close #21536: Replace ATOMIC_VAR_INIT() macro with constructor
This commit is contained in:
committed by
GitHub
parent
8a6de886be
commit
d2e7d57104
@@ -248,7 +248,7 @@ private:
|
||||
class TcpSocket final : public ITcpSocket, protected Socket
|
||||
{
|
||||
private:
|
||||
std::atomic<SocketStatus> _status = ATOMIC_VAR_INIT(SocketStatus::Closed);
|
||||
std::atomic<SocketStatus> _status{ SocketStatus::Closed };
|
||||
uint16_t _listeningPort = 0;
|
||||
SOCKET _socket = INVALID_SOCKET;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user