mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-30 23:11:23 +00:00
removes unused recordcmp.hpp (#3214)
This PR removes an unused source file.
This commit is contained in:
parent
6cf74f7041
commit
cd946ea35a
2 changed files with 1 additions and 35 deletions
|
@ -72,7 +72,7 @@ add_openmw_dir (mwworld
|
||||||
containerstore actiontalk actiontake manualref player cellvisitors failedaction
|
containerstore actiontalk actiontake manualref player cellvisitors failedaction
|
||||||
cells localscripts customdata inventorystore ptr actionopen actionread actionharvest
|
cells localscripts customdata inventorystore ptr actionopen actionread actionharvest
|
||||||
actionequip timestamp actionalchemy cellstore actionapply actioneat
|
actionequip timestamp actionalchemy cellstore actionapply actioneat
|
||||||
store esmstore recordcmp fallback actionrepair actionsoulgem livecellref actiondoor
|
store esmstore fallback actionrepair actionsoulgem livecellref actiondoor
|
||||||
contentloader esmloader actiontrap cellreflist cellref weather projectilemanager
|
contentloader esmloader actiontrap cellreflist cellref weather projectilemanager
|
||||||
cellpreloader datetimemanager
|
cellpreloader datetimemanager
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,34 +0,0 @@
|
||||||
#ifndef OPENMW_MWWORLD_RECORDCMP_H
|
|
||||||
#define OPENMW_MWWORLD_RECORDCMP_H
|
|
||||||
|
|
||||||
#include <components/esm/records.hpp>
|
|
||||||
|
|
||||||
#include <components/misc/stringops.hpp>
|
|
||||||
|
|
||||||
namespace MWWorld
|
|
||||||
{
|
|
||||||
struct RecordCmp
|
|
||||||
{
|
|
||||||
template <class T>
|
|
||||||
bool operator()(const T &x, const T& y) const {
|
|
||||||
return x.mId < y.mId;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
template <>
|
|
||||||
inline bool RecordCmp::operator()<ESM::Dialogue>(const ESM::Dialogue &x, const ESM::Dialogue &y) const {
|
|
||||||
return Misc::StringUtils::ciLess(x.mId, y.mId);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <>
|
|
||||||
inline bool RecordCmp::operator()<ESM::Cell>(const ESM::Cell &x, const ESM::Cell &y) const {
|
|
||||||
return Misc::StringUtils::ciLess(x.mName, y.mName);
|
|
||||||
}
|
|
||||||
|
|
||||||
template <>
|
|
||||||
inline bool RecordCmp::operator()<ESM::Pathgrid>(const ESM::Pathgrid &x, const ESM::Pathgrid &y) const {
|
|
||||||
return Misc::StringUtils::ciLess(x.mCell, y.mCell);
|
|
||||||
}
|
|
||||||
|
|
||||||
} // end namespace
|
|
||||||
#endif
|
|
Loading…
Reference in a new issue