[Client] Change pointer type to reference

This commit is contained in:
Koncord 2017-06-27 21:58:36 +08:00
parent 7499777b3a
commit aa1f5c3cd3
2 changed files with 3 additions and 3 deletions

View file

@ -541,9 +541,9 @@ namespace MWWorld
Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code
*/ */
std::vector<LiveCellRefBase*> *CellStore::getMergedRefs() std::vector<LiveCellRefBase*> &CellStore::getMergedRefs()
{ {
return &mMergedRefs; return mMergedRefs;
} }
/* /*
End of tes3mp addition End of tes3mp addition

View file

@ -245,7 +245,7 @@ namespace MWWorld
Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code
*/ */
std::vector<LiveCellRefBase*> *getMergedRefs(); std::vector<LiveCellRefBase*> &getMergedRefs();
/* /*
End of tes3mp addition End of tes3mp addition
*/ */