forked from teamnwah/openmw-tes3coop
Issue #217: moved some functino implementations from ptr.hpp to ptr.cpp
This commit is contained in:
parent
0adbe258fd
commit
a0ee2954bd
2 changed files with 14 additions and 10 deletions
|
@ -3,6 +3,18 @@
|
|||
|
||||
#include <cassert>
|
||||
|
||||
ESM::CellRef& MWWorld::Ptr::getCellRef() const
|
||||
{
|
||||
assert (mCellRef);
|
||||
return *mCellRef;
|
||||
}
|
||||
|
||||
MWWorld::RefData& MWWorld::Ptr::getRefData() const
|
||||
{
|
||||
assert (mRefData);
|
||||
return *mRefData;
|
||||
}
|
||||
|
||||
void MWWorld::Ptr::setContainerStore (ContainerStore *store)
|
||||
{
|
||||
assert (store);
|
||||
|
|
|
@ -67,17 +67,9 @@ namespace MWWorld
|
|||
return boost::any_cast<ESMS::LiveCellRef<T, RefData>*> (mPtr);
|
||||
}
|
||||
|
||||
ESM::CellRef& getCellRef() const
|
||||
{
|
||||
assert (mCellRef);
|
||||
return *mCellRef;
|
||||
}
|
||||
ESM::CellRef& getCellRef() const;
|
||||
|
||||
RefData& getRefData() const
|
||||
{
|
||||
assert (mRefData);
|
||||
return *mRefData;
|
||||
}
|
||||
RefData& getRefData() const;
|
||||
|
||||
Ptr::CellStore *getCell() const
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue