diff --git a/components/esm/custommarkerstate.hpp b/components/esm/custommarkerstate.hpp index fc9286bfe..2be43c53b 100644 --- a/components/esm/custommarkerstate.hpp +++ b/components/esm/custommarkerstate.hpp @@ -16,7 +16,7 @@ struct CustomMarker std::string mNote; - bool operator == (const CustomMarker& other) + bool operator == (const CustomMarker& other) const { return mNote == other.mNote && mCell == other.mCell && mWorldX == other.mWorldX && mWorldY == other.mWorldY; }