mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 18:45:36 +00:00
rename template_ to templatePtr
This commit is contained in:
parent
90b415a8dd
commit
e063fa5b23
1 changed files with 2 additions and 2 deletions
|
@ -22,9 +22,9 @@ namespace
|
|||
|
||||
template <typename T>
|
||||
void create(
|
||||
const MWWorld::Store<T>& list, const MWWorld::Ptr& template_, std::any& refValue, MWWorld::Ptr& ptrValue)
|
||||
const MWWorld::Store<T>& list, const MWWorld::Ptr& templatePtr, std::any& refValue, MWWorld::Ptr& ptrValue)
|
||||
{
|
||||
refValue = *static_cast<MWWorld::LiveCellRef<T>*>(template_.getBase());
|
||||
refValue = *static_cast<MWWorld::LiveCellRef<T>*>(templatePtr.getBase());
|
||||
ptrValue = MWWorld::Ptr(&std::any_cast<MWWorld::LiveCellRef<T>&>(refValue), nullptr);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue