Fix atomic bug for older gcc

This commit is contained in:
root 2018-09-09 22:09:22 +08:00
parent 2eae1110ef
commit e6bcded66f

View File

@ -148,6 +148,6 @@ namespace drogon
std::string _sslKeyPath;
size_t _maxConnectionNum=100000;
std::atomic_uint64_t _connectionNum;
std::atomic<uint64_t> _connectionNum;
};
}
}