mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-19 15:39:49 +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
|
||||
= 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…
Reference in a new issue