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

Function operator+

valdi_core/src/valdi_core/cpp/Utils/Duration.cpp:63–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61}
62
63Duration operator+(const Duration& left, const Duration& right) {
64 return Duration(left.seconds() + right.seconds());
65}
66
67Duration operator-(const Duration& left, const Duration& right) {
68 return Duration(left.seconds() - right.seconds());

Callers

nothing calls this directly

Calls 2

DurationClass · 0.70
secondsMethod · 0.45

Tested by

no test coverage detected