mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 08:53:52 +00:00
removed an unused function
This commit is contained in:
parent
0eed697f9a
commit
86bd2f48dc
2 changed files with 0 additions and 16 deletions
|
@ -38,14 +38,3 @@ std::string CSMWorld::RefCollection::getNewId()
|
||||||
stream << "ref#" << mNextId++;
|
stream << "ref#" << mNextId++;
|
||||||
return stream.str();
|
return stream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CSMWorld::RefCollection::cloneRecord(const std::string& origin,
|
|
||||||
const std::string& destination,
|
|
||||||
const CSMWorld::UniversalId::Type type,
|
|
||||||
const CSMWorld::UniversalId::ArgumentType argumentType)
|
|
||||||
{
|
|
||||||
Record<CSMWorld::CellRef> clone(getRecord(origin));
|
|
||||||
clone.mState = CSMWorld::RecordBase::State_ModifiedOnly;
|
|
||||||
clone.get().mId = destination;
|
|
||||||
insertRecord(clone, getAppendIndex(destination, type), type);
|
|
||||||
}
|
|
|
@ -26,11 +26,6 @@ namespace CSMWorld
|
||||||
///< Load a sequence of references.
|
///< Load a sequence of references.
|
||||||
|
|
||||||
std::string getNewId();
|
std::string getNewId();
|
||||||
|
|
||||||
void cloneRecord(const std::string& origin,
|
|
||||||
const std::string& destination,
|
|
||||||
const CSMWorld::UniversalId::Type type,
|
|
||||||
const CSMWorld::UniversalId::ArgumentType argumentType);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue