mirror of
https://github.com/deavmi/birchwood
synced 2024-09-20 14:43:23 +02:00
Merge branch 'master' into ircv3
This commit is contained in:
commit
b2d7250f49
@ -18,7 +18,7 @@ import birchwood.client.events;
|
||||
|
||||
import dlog;
|
||||
|
||||
__gshared Logger logger;
|
||||
package __gshared Logger logger;
|
||||
__gshared static this()
|
||||
{
|
||||
logger = new DefaultLogger();
|
||||
|
@ -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.
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user