Browse Source

fix ssesvr use of deleted function (#938)

Joseph Huang 4 years ago
parent
commit
dcf24d45a2
1 changed files with 2 additions and 2 deletions
  1. 2 2
      example/ssesvr.cc

+ 2 - 2
example/ssesvr.cc

@@ -39,8 +39,8 @@ public:
 private:
   mutex m_;
   condition_variable cv_;
-  atomic_int id_ = 0;
-  atomic_int cid_ = -1;
+  atomic_int id_{0};
+  atomic_int cid_{-1};
   string message_;
 };