diff --git a/drape/pointers.hpp b/drape/pointers.hpp index c903ab113f..b3d6926017 100644 --- a/drape/pointers.hpp +++ b/drape/pointers.hpp @@ -80,6 +80,11 @@ class DrapePointer public: DrapePointer() : m_p(NULL) { SET_CHECK_FLAG(true); } + bool operator==(DrapePointer const & other) const + { + return m_p == other.m_p; + } + protected: DrapePointer(T * p, bool needDestroyedCheck = true) : m_p(p)