[Client] Change pointer type to reference

0.6.1
Koncord 8 years ago
parent 7499777b3a
commit aa1f5c3cd3

@ -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

@ -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
*/

Loading…
Cancel
Save