1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-02-24 18:39:59 +00:00

Remove unused operator< for RecastMesh

This commit is contained in:
elsid 2021-11-05 14:14:15 +01:00
parent 5f1bf89369
commit 5f5163905a
No known key found for this signature in database
GPG Key ID: B845CB9FEE18AB40

View File

@ -132,11 +132,6 @@ namespace DetourNavigator
std::vector<FlatHeightfield> mFlatHeightfields;
Bounds mBounds;
friend inline bool operator <(const RecastMesh& lhs, const RecastMesh& rhs) noexcept
{
return std::tie(lhs.mMesh, lhs.mWater) < std::tie(rhs.mMesh, rhs.mWater);
}
friend inline std::size_t getSize(const RecastMesh& value) noexcept
{
return getSize(value.mMesh) + value.mWater.size() * sizeof(Cell)