MCPcopy Create free account
hub / github.com/clechasseur/pathcopycopy / operator<

Method operator<

PathCopyCopy/src/PathCopyCopyPluginsRegistry.cpp:333–337  ·  view source on GitHub ↗

Compares two COMPluginInfo beans, sorting them by ascending order of group ID and position. @param p_Right Bean to compare with this one. @return true if this bean is before p_Right.

Source from the content-addressed store, hash-verified

331 // @return true if this bean is before p_Right.
332 //
333 bool PluginsRegistry::COMPluginInfo::operator<(const COMPluginInfo& p_Right) const noexcept
334 {
335 return m_GroupId < p_Right.m_GroupId ||
336 (m_GroupId == p_Right.m_GroupId && m_GroupPosition < p_Right.m_GroupPosition);
337 }
338
339} // namespace PCC

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected