1
0
mirror of https://github.com/deavmi/birchwood synced 2024-09-20 11:43:22 +02:00

Merge branch 'master' into ircv3

This commit is contained in:
Tristan B. Velloza Kildaire 2023-03-19 12:24:49 +02:00
commit b2d7250f49
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import birchwood.client.events;
import dlog;
__gshared Logger logger;
package __gshared Logger logger;
__gshared static this()
{
logger = new DefaultLogger();

View File

@ -13,7 +13,7 @@ import std.stdio : writeln;
/* Static is redundant as module is always static , gshared needed */
/* Apparebky works without gshared, that is kinda sus ngl */
__gshared Logger logger;
package __gshared Logger logger;
/**
* source/birchwood/messages.d(10,8): Error: variable `birchwood.messages.logger` is a thread-local class and cannot have a static initializer. Use `static this()` to initialize instead.
*