MCPcopy Create free account
hub / github.com/apache/trafficserver / operator<

Method operator<

include/tscore/HTTPVersion.h:123–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

121 -------------------------------------------------------------------------*/
122
123inline int
124HTTPVersion::operator<(const HTTPVersion &hv) const
125{
126 return vmajor < hv.get_major() || (vmajor == hv.get_major() && vminor < hv.get_minor());
127}
128
129/*-------------------------------------------------------------------------
130 -------------------------------------------------------------------------*/

Callers

nothing calls this directly

Calls 2

get_majorMethod · 0.80
get_minorMethod · 0.80

Tested by

no test coverage detected