Skip to content

Commit 5c54162

Browse files
danilchajhasse
authored andcommitted
Remove 'inline' from the destructor
1 parent e183c84 commit 5c54162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ThreadPool.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ auto ThreadPool::enqueue(F&& f, Args&&... args)
7878
}
7979

8080
// the destructor joins all threads
81-
inline ThreadPool::~ThreadPool()
81+
ThreadPool::~ThreadPool()
8282
{
8383
{
8484
std::unique_lock<std::mutex> lock(queue_mutex);

0 commit comments

Comments
 (0)