From db994eaa802cf97011fcb6b11a69deb76fdab414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Ludwig?= Date: Tue, 17 Sep 2019 15:22:41 +0200 Subject: [PATCH] Fix compile error on old compiler versions --- source/vibe/core/args.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/vibe/core/args.d b/source/vibe/core/args.d index 79bcb79..309f185 100755 --- a/source/vibe/core/args.d +++ b/source/vibe/core/args.d @@ -306,7 +306,7 @@ private T fromValue(T)(in JSONValue val) static if (is(typeof(JSONType.true_))) return val.type == JSONType.true_; else - return val.type == JSONType.TRUE; + return val.type == JSON_TYPE.TRUE; } else static if (is(T : long)) return val.integer.to!T; else static if (is(T : double)) return val.floating.to!T;