fixed shared logger usage

This commit is contained in:
WebFreak001 2022-12-07 22:01:59 +01:00 committed by Jan Jurzitza
parent 2457f70b8e
commit 39baba327e
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ private:
int runClient(string[] args)
{
sharedLog.fatalHandler = () {};
(cast()sharedLog).fatalHandler = () {};
size_t cursorPos = size_t.max;
string[] addedImportPaths;

View File

@ -75,7 +75,7 @@ int runServer(string[] args)
string socketFile = generateSocketName();
}
sharedLog.fatalHandler = () {};
(cast()sharedLog).fatalHandler = () {};
try
{