#ifndef OPENMW_COMPONENTS_CONTENT_LESSBYID_H #define OPENMW_COMPONENTS_CONTENT_LESSBYID_H #include namespace EsmLoader { struct LessById { template bool operator()(const T& lhs, const T& rhs) const { return lhs.mId < rhs.mId; } template bool operator()(const T& lhs, std::string_view rhs) const { return lhs.mId < rhs; } }; } #endif