mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
iOS: don't create unused CConsoleHandler
This commit is contained in:
@@ -346,7 +346,11 @@ EConsoleTextColor::EConsoleTextColor CColorMapping::getColorFor(const CLoggerDom
|
||||
throw std::runtime_error("failed to find color for requested domain/level pair");
|
||||
}
|
||||
|
||||
CLogConsoleTarget::CLogConsoleTarget(CConsoleHandler * console) : console(console), threshold(ELogLevel::INFO), coloredOutputEnabled(true)
|
||||
CLogConsoleTarget::CLogConsoleTarget(CConsoleHandler * console) :
|
||||
#ifndef VCMI_IOS
|
||||
console(console),
|
||||
#endif
|
||||
threshold(ELogLevel::INFO), coloredOutputEnabled(true)
|
||||
{
|
||||
formatter.setPattern("%m");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user