1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-27 03:35:27 +00:00

Fix compile

This commit is contained in:
fteppe 2023-01-29 10:54:21 +01:00
parent 9054722f4a
commit 808c7367c9
2 changed files with 5 additions and 2 deletions

View File

@ -14,6 +14,9 @@ namespace MWWorld
using Ts::operator()...;
};
template <class... Ts>
RefVisit(Ts...) -> RefVisit<Ts...>;
CellRef::CellRef(const ESM::CellRef& ref)
: mCellRef(ESM::ReferenceVariant(ref))
{

View File

@ -1087,8 +1087,8 @@ namespace MWWorld
struct Visitor
{
bool operator()(const ESM::Cell* a, const ESM::Cell* b) const { return a->getCellId() == b->getCellId(); };
bool operator()(const ESM4::Cell* a, const ESM4::Cell* b) const { return a->mId == b->mId; };
bool operator()(const ESM::Cell* a, const ESM::Cell* b) const { return a->getCellId() == b->getCellId(); }
bool operator()(const ESM4::Cell* a, const ESM4::Cell* b) const { return a->mId == b->mId; }
template <class L, class R>
bool operator()(L, R) const