MCPcopy Create free account
hub / github.com/Snapchat/Valdi / operator-

Function operator-

valdi_core/src/valdi_core/cpp/Utils/Duration.cpp:67–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67Duration operator-(const Duration& left, const Duration& right) {
68 return Duration(left.seconds() - right.seconds());
69}
70
71Duration operator%(const Duration& left, const Duration& right) {
72 return Duration(std::fmod(left.seconds(), right.seconds()));

Callers

nothing calls this directly

Calls 2

DurationClass · 0.70
secondsMethod · 0.45

Tested by

no test coverage detected