From aa1f5c3cd30dff5d300788ced08a85e3442d0bfc Mon Sep 17 00:00:00 2001 From: Koncord Date: Tue, 27 Jun 2017 21:58:36 +0800 Subject: [PATCH] [Client] Change pointer type to reference --- apps/openmw/mwworld/cellstore.cpp | 4 ++-- apps/openmw/mwworld/cellstore.hpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/openmw/mwworld/cellstore.cpp b/apps/openmw/mwworld/cellstore.cpp index a8ad6787a..f947d7134 100644 --- a/apps/openmw/mwworld/cellstore.cpp +++ b/apps/openmw/mwworld/cellstore.cpp @@ -541,9 +541,9 @@ namespace MWWorld Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code */ - std::vector *CellStore::getMergedRefs() + std::vector &CellStore::getMergedRefs() { - return &mMergedRefs; + return mMergedRefs; } /* End of tes3mp addition diff --git a/apps/openmw/mwworld/cellstore.hpp b/apps/openmw/mwworld/cellstore.hpp index ddc8db67d..20fba595a 100644 --- a/apps/openmw/mwworld/cellstore.hpp +++ b/apps/openmw/mwworld/cellstore.hpp @@ -245,7 +245,7 @@ namespace MWWorld Make it possible to get the mMergedRefs in the CellStore from elsewhere in the code */ - std::vector *getMergedRefs(); + std::vector &getMergedRefs(); /* End of tes3mp addition */