fix deprecation std.datetime.StopWatch

This commit is contained in:
Vadim Lopatin 2020-07-28 16:24:38 +03:00
parent 687027fe9c
commit e7dfdd69eb
1 changed files with 1 additions and 6 deletions
src/dlangui/widgets

View File

@ -1402,12 +1402,7 @@ class ListWidget : WidgetGroup, OnScrollHandler, OnAdapterChangeHandler {
class StringListWidget : ListWidget {
import std.conv : to;
// Will be errored after other compilers will overtake phobos version 2.076
version(DigitalMars) {
import std.datetime.stopwatch : StopWatch;
} else {
import std.datetime : dto = to, StopWatch;
}
import std.datetime.stopwatch : StopWatch;
import core.time : dur;
private dstring _searchString;
private StopWatch _stopWatch;