mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 09:09:43 +00:00
Fix compile
This commit is contained in:
parent
9054722f4a
commit
808c7367c9
2 changed files with 5 additions and 2 deletions
|
@ -14,6 +14,9 @@ namespace MWWorld
|
||||||
using Ts::operator()...;
|
using Ts::operator()...;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
template <class... Ts>
|
||||||
|
RefVisit(Ts...) -> RefVisit<Ts...>;
|
||||||
|
|
||||||
CellRef::CellRef(const ESM::CellRef& ref)
|
CellRef::CellRef(const ESM::CellRef& ref)
|
||||||
: mCellRef(ESM::ReferenceVariant(ref))
|
: mCellRef(ESM::ReferenceVariant(ref))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1087,8 +1087,8 @@ namespace MWWorld
|
||||||
|
|
||||||
struct Visitor
|
struct Visitor
|
||||||
{
|
{
|
||||||
bool operator()(const ESM::Cell* a, const ESM::Cell* b) const { return a->getCellId() == b->getCellId(); };
|
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 ESM4::Cell* a, const ESM4::Cell* b) const { return a->mId == b->mId; }
|
||||||
|
|
||||||
template <class L, class R>
|
template <class L, class R>
|
||||||
bool operator()(L, R) const
|
bool operator()(L, R) const
|
||||||
|
|
Loading…
Reference in a new issue