1 parent c9782a9 commit 6701a38Copy full SHA for 6701a38
1 file changed
src/common/Utilities/EventMap.h
@@ -40,6 +40,15 @@ class TC_COMMON_API EventMap
40
{
41
}
42
43
+ bool operator<(Event const& other) const
44
+ {
45
+ if (_id != other._id)
46
+ return _id < other._id;
47
+ if (_groupMask != other._groupMask)
48
+ return _groupMask < other._groupMask;
49
+ return _phaseMask < other._phaseMask;
50
+ }
51
+
52
EventId _id = 0u;
53
GroupMask _groupMask = 0u;
54
PhaseMask _phaseMask = 0u;
0 commit comments