Cast loggers to shared for now to make everying build

This commit is contained in:
johan.forsberg 2022-11-09 22:32:44 +01:00
parent 72ea89b6ec
commit 2b2d068692
1 changed files with 3 additions and 3 deletions

View File

@ -28,15 +28,15 @@ extern (C) int UIAppMain(string[] args) {
version(Windows) { version(Windows) {
debug { debug {
sharedLog = new FileLogger("dcd.log"); sharedLog = cast(shared)new FileLogger("dcd.log");
} else { } else {
sharedLog = new NullLogger(); sharedLog = cast(shared)new NullLogger();
} }
} else { } else {
debug { debug {
//sharedLog = new FileLogger("dcd.log"); //sharedLog = new FileLogger("dcd.log");
} else { } else {
sharedLog = new NullLogger(); sharedLog = cast(shared)new NullLogger();
} }
} }