trying to fix LDC build

This commit is contained in:
Vadim Lopatin 2020-07-29 07:33:29 +03:00
parent 86baf487e7
commit 2b1057b037
1 changed files with 7 additions and 1 deletions

View File

@ -1402,7 +1402,13 @@ class ListWidget : WidgetGroup, OnScrollHandler, OnAdapterChangeHandler {
class StringListWidget : ListWidget {
import std.conv : to;
import std.datetime.stopwatch : StopWatch;
version(DigitalMars) {
import std.datetime.stopwatch : StopWatch;
} else {
import std.datetime.stopwatch : StopWatch;
import std.datetime : dto = to;
}
import core.time : dur;
private dstring _searchString;
private StopWatch _stopWatch;