diff options
Diffstat (limited to 'server/src/connectionpool.h')
-rw-r--r-- | server/src/connectionpool.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/connectionpool.h b/server/src/connectionpool.h index 33473e5..0f1c844 100644 --- a/server/src/connectionpool.h +++ b/server/src/connectionpool.h @@ -133,7 +133,7 @@ int ConnectionPool<T>::numFree() template <class T> T ConnectionPool<T>::borrow() { - T t = NULL; + T t; semaphore.wait(); |