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

Method operator+

valdi_core/src/valdi_core/cpp/Utils/TimePoint.cpp:55–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55TimePoint TimePoint::operator+(const Duration& duration) const {
56 return TimePoint(_time + duration.seconds());
57}
58
59TimePoint& TimePoint::operator+=(const Duration& duration) {
60 _time += duration.seconds();

Callers

nothing calls this directly

Calls 2

TimePointClass · 0.70
secondsMethod · 0.45

Tested by

no test coverage detected