mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 07:09:42 +00:00
Fix compile MSVC
This commit is contained in:
parent
b88eee08c2
commit
400d51c099
1 changed files with 2 additions and 2 deletions
|
@ -315,8 +315,8 @@ static void testRecNameIntCount(const MWWorld::Store<T>& store, const MWWorld::E
|
||||||
{
|
{
|
||||||
const unsigned int recordIdCount
|
const unsigned int recordIdCount
|
||||||
= std::apply([](auto&&... x) { return (hasSameRecordId(x, T::sRecordId) + ...); }, stores);
|
= std::apply([](auto&&... x) { return (hasSameRecordId(x, T::sRecordId) + ...); }, stores);
|
||||||
ASSERT_EQ(recordIdCount, 1) << "The same RecNameInt is used twice ESM::REC_"
|
ASSERT_EQ(recordIdCount, static_cast<unsigned int>(1))
|
||||||
<< MWWorld::getRecNameString(T::sRecordId).toStringView();
|
<< "The same RecNameInt is used twice ESM::REC_" << MWWorld::getRecNameString(T::sRecordId).toStringView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue