mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-21 06:09:42 +00:00
Remove unused function.
This commit is contained in:
parent
b10a817f7e
commit
00de540a31
2 changed files with 0 additions and 15 deletions
|
@ -186,17 +186,6 @@ namespace MWWorld
|
|||
return ptr;
|
||||
}
|
||||
template<typename T>
|
||||
const T *Store<T>::findRandom(const std::string &id) const
|
||||
{
|
||||
const T *ptr = searchRandom(id);
|
||||
if(ptr == nullptr)
|
||||
{
|
||||
const std::string msg = T::getRecordType() + " starting with '" + id + "' not found";
|
||||
throw std::runtime_error(msg);
|
||||
}
|
||||
return ptr;
|
||||
}
|
||||
template<typename T>
|
||||
RecordId Store<T>::load(ESM::ESMReader &esm)
|
||||
{
|
||||
T record;
|
||||
|
|
|
@ -179,10 +179,6 @@ namespace MWWorld
|
|||
|
||||
const T *find(const std::string &id) const;
|
||||
|
||||
/** Returns a random record that starts with the named ID. An exception is thrown if none
|
||||
* are found. */
|
||||
const T *findRandom(const std::string &id) const;
|
||||
|
||||
iterator begin() const;
|
||||
iterator end() const;
|
||||
|
||||
|
|
Loading…
Reference in a new issue