mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
- Integrated the logging API into the client and the lib - Remove some more comments and switched to /// style - Fixed recursive locks - Added Global.h to CMakeLists(now visible in qt-creator) - Removed usage of shared_mutex - Added unique_ptr to CLogger targets
This commit is contained in:
@ -1626,7 +1626,7 @@ void CTextInput::numberFilter(std::string & text, const std::string & oldText, i
|
||||
catch(boost::bad_lexical_cast &)
|
||||
{
|
||||
//Should never happen. Unless I missed some cases
|
||||
tlog0 << "Warning: failed to convert "<< text << " to number!\n";
|
||||
logGlobal->warnStream() << "Warning: failed to convert "<< text << " to number!";
|
||||
text = oldText;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user