소스 검색

Fixed compilation warning

Paul-Louis Ageneau 5 년 전
부모
커밋
0625508348
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/threadpool.cpp

+ 1 - 1
src/threadpool.cpp

@@ -29,7 +29,7 @@ ThreadPool::~ThreadPool() { join(); }
 
 int ThreadPool::count() const {
 	std::unique_lock lock(mWorkersMutex);
-	return mWorkers.size();
+	return int(mWorkers.size());
 }
 
 void ThreadPool::spawn(int count) {