Browse Source

Fixed compilation warning

Paul-Louis Ageneau 5 years ago
parent
commit
0625508348
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/threadpool.cpp

+ 1 - 1
src/threadpool.cpp

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