mirror of https://github.com/AxioDL/logvisor.git
Merge pull request #1 from lioncash/cexpr
logvisor: Make Module constructor constexpr
This commit is contained in:
commit
aa9aa0a82c
|
@ -207,7 +207,7 @@ class Module {
|
||||||
}
|
}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Module(const char* modName) : m_modName(modName) {}
|
constexpr Module(const char* modName) : m_modName(modName) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Route new log message to centralized ILogger
|
* @brief Route new log message to centralized ILogger
|
||||||
|
|
Loading…
Reference in New Issue