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

Method operator<

ui/moduleswidget.cpp:49–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47
48
49bool ModuleItem::operator<(const ModuleItem& other) const
50{
51 if (m_address < other.address())
52 return true;
53 else if (m_address > other.address())
54 return false;
55 else if (m_size < other.size())
56 return true;
57 else if (m_size > other.size())
58 return false;
59 else if (m_name < other.name())
60 return true;
61 else if (m_name > other.name())
62 return false;
63 return m_path < other.path();
64}
65
66
67DebugModulesListModel::DebugModulesListModel(QWidget* parent, ViewFrame* view) :

Callers

nothing calls this directly

Calls 4

sizeMethod · 0.80
pathMethod · 0.80
addressMethod · 0.45
nameMethod · 0.45

Tested by

no test coverage detected