Move logs::channel registration out of the constructor

Allow constinit initialization of logs::channel.
This commit is contained in:
Nekotekina 2020-02-02 14:09:20 +03:00
parent e57c01907e
commit 87a5dd66ab
3 changed files with 22 additions and 8 deletions

View file

@ -4,7 +4,7 @@
#include "Crypto/sha1.h"
#include "Utilities/StrUtil.h"
LOG_CHANNEL(trp_log);
LOG_CHANNEL(trp_log, "Trophy");
TRPLoader::TRPLoader(const fs::file& f)
: trp_f(f)