Skip to content

Commit 39baba3

Browse files
committed
fixed shared logger usage
1 parent 2457f70 commit 39baba3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dcd/client/client.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ private:
5151

5252
int runClient(string[] args)
5353
{
54-
sharedLog.fatalHandler = () {};
54+
(cast()sharedLog).fatalHandler = () {};
5555

5656
size_t cursorPos = size_t.max;
5757
string[] addedImportPaths;

src/dcd/server/main.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ int runServer(string[] args)
7575
string socketFile = generateSocketName();
7676
}
7777

78-
sharedLog.fatalHandler = () {};
78+
(cast()sharedLog).fatalHandler = () {};
7979

8080
try
8181
{

0 commit comments

Comments
 (0)