diff --git a/XMPFiles/source/FormatSupport/P2_Support.hpp b/XMPFiles/source/FormatSupport/P2_Support.hpp index 8375d32a04e477340e3aee89208f68c5fe787be9..9a18884eabe45b3dbe5a09afa0fca5e7b7525463 100644 --- a/XMPFiles/source/FormatSupport/P2_Support.hpp +++ b/XMPFiles/source/FormatSupport/P2_Support.hpp @@ -79,7 +79,7 @@ private: }; // class P2_Clip struct P2SpannedClip_Order { - bool operator()( P2_Clip* lhs, P2_Clip* rhs) + bool operator()( P2_Clip* lhs, P2_Clip* rhs) const { return lhs->GetOffsetInShot() < rhs->GetOffsetInShot(); }