mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Make some non-const static variables const or constexpr
This commit is contained in:
@@ -137,7 +137,7 @@ void CBonusSelection::createBonusesIcons()
|
||||
const std::vector<CampaignBonus> & bonDescs = scenario.travelOptions.bonusesToChoose;
|
||||
groupBonuses = std::make_shared<CToggleGroup>(std::bind(&IServerAPI::setCampaignBonus, CSH, _1));
|
||||
|
||||
static const char * bonusPics[] =
|
||||
constexpr std::array bonusPics =
|
||||
{
|
||||
"SPELLBON.DEF", // Spell
|
||||
"TWCRPORT.DEF", // Monster
|
||||
|
||||
Reference in New Issue
Block a user