Remove unused function.

pull/593/head
fredzio 4 years ago
parent b10a817f7e
commit 00de540a31

@ -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…
Cancel
Save