mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +02:00
Warnings fixes (#538)
Warnings fixes * Suppress `missing-braces` for Clang * Fixed many C4275 warnings * Fixed almost all Clang/GCC warnings * Silence most frequent MSVC warning. * Fixed some pessimizing-move warnings * Fixed some unused capture warnings
This commit is contained in:
committed by
GitHub
parent
419fee1fb2
commit
b00e935e4d
@ -172,7 +172,7 @@ void CMapHandler::initTerrainGraphics()
|
||||
"lavrvr"
|
||||
};
|
||||
|
||||
auto loadFlipped = [this](int types, TFlippedAnimations & animation, TFlippedCache & cache, const std::vector<std::string> & files)
|
||||
auto loadFlipped = [](int types, TFlippedAnimations & animation, TFlippedCache & cache, const std::vector<std::string> & files)
|
||||
{
|
||||
animation.resize(types);
|
||||
cache.resize(types);
|
||||
|
Reference in New Issue
Block a user