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:
parent
c0a036ed1f
commit
1e8b7f0f83
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue