1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-29 22:20:33 +00:00

Fix compile MSVC

This commit is contained in:
florent.teppe 2023-01-04 14:19:12 +01:00
parent b88eee08c2
commit 400d51c099

View File

@ -315,8 +315,8 @@ static void testRecNameIntCount(const MWWorld::Store<T>& store, const MWWorld::E
{
const unsigned int recordIdCount
= std::apply([](auto&&... x) { return (hasSameRecordId(x, T::sRecordId) + ...); }, stores);
ASSERT_EQ(recordIdCount, 1) << "The same RecNameInt is used twice ESM::REC_"
<< MWWorld::getRecNameString(T::sRecordId).toStringView();
ASSERT_EQ(recordIdCount, static_cast<unsigned int>(1))
<< "The same RecNameInt is used twice ESM::REC_" << MWWorld::getRecNameString(T::sRecordId).toStringView();
}
}