MCPcopy Create free account
hub / github.com/Vector35/debugger / operator<

Method operator<

ui/breakpointswidget.cpp:46–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45
46bool BreakpointItem::operator<(const BreakpointItem& other) const
47{
48 if (m_enabled < other.enabled())
49 return true;
50 else if (m_enabled > other.enabled())
51 return false;
52 else if (m_location < other.location())
53 return true;
54 else if (m_location > other.location())
55 return false;
56 return m_address < other.address();
57}
58
59
60DebugBreakpointsListModel::DebugBreakpointsListModel(QWidget* parent, ViewFrame* view) :

Callers

nothing calls this directly

Calls 3

enabledMethod · 0.80
locationMethod · 0.80
addressMethod · 0.45

Tested by

no test coverage detected