Explorar el Código

Fixed compilation warning

Paul-Louis Ageneau hace 5 años
padre
commit
0625508348
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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) {