Explorar el Código

fix ssesvr use of deleted function (#938)

Joseph Huang hace 4 años
padre
commit
dcf24d45a2
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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_;
 };