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();
             std::this_thread::yield();
         }
         }
+        return 0;
     }
     }
 
 
     // return a future, calling future.get() will wait task done and return RetType.
     // return a future, calling future.get() will wait task done and return RetType.