瀏覽代碼

fix ssesvr use of deleted function (#938)

Joseph Huang 4 年之前
父節點
當前提交
dcf24d45a2
共有 1 個文件被更改,包括 2 次插入2 次删除
  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_;
 };