diff --git a/tsmpool.cpp b/tsmpool.cpp index d70e8bae..7c8f88f2 100644 --- a/tsmpool.cpp +++ b/tsmpool.cpp @@ -42,7 +42,7 @@ tsmthread_t* tsmpool::register_thread() return thread; } -int tsmpool::remove_thread(tsmthread_t* thread) +void tsmpool::remove_thread(tsmthread_t* thread) { pthread_mutex_lock(&this->mutex); for(int i=0;i