MCPcopy Create free account
hub / github.com/Icinga/icinga2 / FieldLayoutCmp

Function FieldLayoutCmp

tools/mkclass/classcompiler.cpp:132–135  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static bool FieldLayoutCmp(const Field& a, const Field& b)
133{
134 return TypePreference(a.Type.GetRealType()) < TypePreference(b.Type.GetRealType());
135}
136
137static bool FieldTypeCmp(const Field& a, const Field& b)
138{

Callers

nothing calls this directly

Calls 2

TypePreferenceFunction · 0.85
GetRealTypeMethod · 0.80

Tested by

no test coverage detected