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:
parent
b88eee08c2
commit
400d51c099
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user