MCPcopy Create free account
hub / github.com/comaps/comaps / operator-

Function operator-

3party/opening_hours/opening_hours.cpp:159–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157}
158
159HourMinutes operator-(HourMinutes const & hm)
160{
161 HourMinutes result;
162 result.SetHours(-hm.GetHours());
163 result.SetMinutes(-hm.GetMinutes());
164 return result;
165}
166
167std::ostream & operator<<(std::ostream & ost, HourMinutes const & hm)
168{

Callers

nothing calls this directly

Calls 4

SetHoursMethod · 0.80
SetMinutesMethod · 0.80
GetHoursMethod · 0.45
GetMinutesMethod · 0.45

Tested by

no test coverage detected