Issue #217: moved some functino implementations from ptr.hpp to ptr.cpp

actorid
Marc Zinnschlag 13 years ago
parent 0adbe258fd
commit a0ee2954bd

@ -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…
Cancel
Save