From 18a5afddc46bf539a6b84b95f7650743c5f98b2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 8 Nov 2016 15:41:59 +0100 Subject: [PATCH] Fix test compilation on DMD 2.071.x. --- source/vibe/internal/hashmap.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/internal/hashmap.d b/source/vibe/internal/hashmap.d index 9191d02..79ab093 100644 --- a/source/vibe/internal/hashmap.d +++ b/source/vibe/internal/hashmap.d @@ -310,7 +310,7 @@ nothrow unittest { @safe unittest { // test for proper use of constructor/post-blit/destructor static struct Test { - @safe: + @safe nothrow: static size_t constructedCounter = 0; bool constructed = false; this(int) { constructed = true; constructedCounter++; }