From 4301aa86b680c2f4dd4b2bc77633f8a75fe26645 Mon Sep 17 00:00:00 2001 From: Antonio Rojas Date: Sat, 15 Oct 2016 13:15:40 +0200 Subject: [PATCH] Fix a build error with LDC Still builds fine with DMD. This doesn't completely fix build with LDC, there are further errors. Fixes issue #26 --- src/asgen/engine.d | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/asgen/engine.d b/src/asgen/engine.d index 0f9731da..d5fed7f9 100644 --- a/src/asgen/engine.d +++ b/src/asgen/engine.d @@ -553,13 +553,8 @@ public: if (entry.data.type == JSON_TYPE.ARRAY) { // we don't clean up combined statistics entries, and therefoire need to reset // the last-data hashmaps as soon as we encounter one to not loose data. - version (GNU) { - lastJData = null; - lastTime = null; - } else { - lastJData.clear; - lastTime.clear; - } + lastJData = null; + lastTime = null; continue; }