mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +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:
@@ -229,7 +229,7 @@ CScenarioTravel CCampaignHandler::readScenarioTravelFromMemory( const ui8 * buff
|
||||
break;
|
||||
}
|
||||
default:
|
||||
tlog1<<"Corrupted h3c file"<<std::endl;
|
||||
logGlobal->warnStream() << "Corrupted h3c file";
|
||||
break;
|
||||
}
|
||||
ret.bonusesToChoose.push_back(bonus);
|
||||
@@ -266,8 +266,8 @@ CScenarioTravel CCampaignHandler::readScenarioTravelFromMemory( const ui8 * buff
|
||||
}
|
||||
default:
|
||||
{
|
||||
tlog1<<"Corrupted h3c file"<<std::endl;
|
||||
break;
|
||||
logGlobal->warnStream() << "Corrupted h3c file";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user