From 6094971947dc68f08588d5b88c9b4ea8fd7441d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Wed, 2 Nov 2016 20:52:59 +0100 Subject: [PATCH] Fix unit test. --- source/vibe/core/connectionpool.d | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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();