1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 22:53:50 +00:00

Fix -Wstring-plus-int warnings

This commit is contained in:
Andrei Kortunov 2019-01-20 15:46:19 +04:00
parent c0a036ed1f
commit 1e8b7f0f83
2 changed files with 2 additions and 2 deletions

View file

@ -78,7 +78,7 @@ void CSMTools::Search::searchRecordStateCell (const CSMWorld::IdTableBase *model
std::vector<std::string> states =
CSMWorld::Columns::getEnums (CSMWorld::Columns::ColumnId_Modification);
const std::string hint = "r: " + model->getColumnId (index.column());
const std::string hint = "r: " + std::to_string(model->getColumnId(index.column()));
messages.add (id, states.at(data), hint);
}
}

View file

@ -154,7 +154,7 @@ void MWMechanics::Alchemy::updateEffects()
if (magicEffect->mData.mBaseCost<=0)
{
const std::string os = "invalid base cost for magic effect " + iter->mId;
const std::string os = "invalid base cost for magic effect " + std::to_string(iter->mId);
throw std::runtime_error (os);
}