mirror of
https://gitee.com/an-tao/drogon.git
synced 2024-11-30 02:37:57 +08:00
Fix atomic bug for older gcc
This commit is contained in:
parent
2eae1110ef
commit
e6bcded66f
@ -148,6 +148,6 @@ namespace drogon
|
||||
std::string _sslKeyPath;
|
||||
|
||||
size_t _maxConnectionNum=100000;
|
||||
std::atomic_uint64_t _connectionNum;
|
||||
std::atomic<uint64_t> _connectionNum;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user