ldc build fix

This commit is contained in:
Denis Feklushkin 2017-10-22 14:21:12 +07:00
parent 3e6f0d0d9f
commit 0984376266
1 changed files with 6 additions and 1 deletions

View File

@ -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;