diff --git a/source/vibe/core/connectionpool.d b/source/vibe/core/connectionpool.d index cf7adee..3d762d9 100644 --- a/source/vibe/core/connectionpool.d +++ b/source/vibe/core/connectionpool.d @@ -102,9 +102,9 @@ unittest { void write() {} } - auto pool = ConnectionPool!Connection({ - return new Connection; // perform the connection here - }); + auto pool = new ConnectionPool!Connection({ + return new Connection; // perform the connection here + }); // create and lock a first connection auto c1 = pool.lockConnection();