diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2019-09-15 03:18:15 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2019-10-10 04:09:08 +0300 |
commit | 062fe2661d2457b2ae200c11709175f9d9f2b2a3 (patch) | |
tree | 4dc129bcceb010349ed2ad13b1350e0be86de6c4 /src/murmur/MurmurIce.cpp | |
parent | 080015b84211f553920821387e91a3975f8d1410 (diff) |
Remove QAtomicInt compatibility layer
Qt 4: https://doc.qt.io/archives/qt-4.8/qatomicint.html
Qt 5: https://doc.qt.io/qt-5/qatomicint.html
Diffstat (limited to 'src/murmur/MurmurIce.cpp')
-rw-r--r-- | src/murmur/MurmurIce.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/murmur/MurmurIce.cpp b/src/murmur/MurmurIce.cpp index 14d4b336f..8cf319e63 100644 --- a/src/murmur/MurmurIce.cpp +++ b/src/murmur/MurmurIce.cpp @@ -123,7 +123,7 @@ static void userToUser(const ::User *p, Murmur::User &mp) { mp.udpPing = u->dUDPPingAvg; mp.tcpPing = u->dTCPPingAvg; - mp.tcponly = QAtomicIntLoad(u->aiUdpFlag) == 0; + mp.tcponly = u->aiUdpFlag.load() == 0; ::Murmur::NetAddress addr(16, 0); const Q_IPV6ADDR &a = u->haAddress.qip6; |