From 098437626622f1a1d3e435a8839f50fdb3c5f026 Mon Sep 17 00:00:00 2001 From: Denis Feklushkin Date: Sun, 22 Oct 2017 14:21:12 +0700 Subject: [PATCH] ldc build fix --- src/dlangui/widgets/lists.d | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/dlangui/widgets/lists.d b/src/dlangui/widgets/lists.d index e102a76f..42f29913 100644 --- a/src/dlangui/widgets/lists.d +++ b/src/dlangui/widgets/lists.d @@ -1402,7 +1402,12 @@ class ListWidget : WidgetGroup, OnScrollHandler, OnAdapterChangeHandler { class StringListWidget : ListWidget { import std.conv : to; - import std.datetime.stopwatch : StopWatch; + // Will be errored after other compilers will overtake phobos version 2.076 + version(DigitalMars) { + import std.datetime.stopwatch : StopWatch; + } else { + import std.datetime : StopWatch; + } import core.time : dur; private dstring _searchString; private StopWatch _stopWatch;