ithewei 6 年之前
父節點
當前提交
059abc5594
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      base/hthreadpool.h

+ 1 - 0
base/hthreadpool.h

@@ -95,6 +95,7 @@ public:
             }
             std::this_thread::yield();
         }
+        return 0;
     }
 
     // return a future, calling future.get() will wait task done and return RetType.