1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-03-01 20:19:39 +00:00

[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
*/
std::vector<LiveCellRefBase*> *CellStore::getMergedRefs()
std::vector<LiveCellRefBase*> &CellStore::getMergedRefs()
{
return &mMergedRefs;
return mMergedRefs;
}
/*
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
*/
std::vector<LiveCellRefBase*> *getMergedRefs();
std::vector<LiveCellRefBase*> &getMergedRefs();
/*
End of tes3mp addition
*/