mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
1.Using c++14; 2.Using {} to initialize std::atomic
This commit is contained in:
@@ -57,9 +57,9 @@ class IceAgent {
|
||||
std::string turn_password_ = "";
|
||||
|
||||
std::unique_ptr<std::thread> nice_thread_;
|
||||
std::atomic<NiceAgent*> agent_ = nullptr;
|
||||
std::atomic<GMainLoop*> gloop_ = nullptr;
|
||||
std::atomic<bool> nice_inited_ = false;
|
||||
std::atomic<NiceAgent*> agent_{nullptr};
|
||||
std::atomic<GMainLoop*> gloop_{nullptr};
|
||||
std::atomic<bool> nice_inited_{false};
|
||||
|
||||
gboolean exit_nice_thread_ = false;
|
||||
bool controlling_ = false;
|
||||
|
||||
Reference in New Issue
Block a user