summaryrefslogtreecommitdiff
path: root/server/src/connectionpool.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2012-08-10 14:06:40 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2012-08-10 14:06:40 +0200
commitb8594b8cb9118b5e95b30d4e7d87c736a0f74fbc (patch)
treea7857e2819e051ac83464ba2e30c79b2beccacf2 /server/src/connectionpool.h
parent909c48a297d7f68b107fce7ad444c2165f749f42 (diff)
Fix compilation of all tests.
Diffstat (limited to 'server/src/connectionpool.h')
-rw-r--r--server/src/connectionpool.h2
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();