equal
deleted
inserted
replaced
27 |
27 |
28 #include "utilities/ticks.hpp" |
28 #include "utilities/ticks.hpp" |
29 |
29 |
30 inline Tickspan operator+(Tickspan lhs, const Tickspan& rhs) { |
30 inline Tickspan operator+(Tickspan lhs, const Tickspan& rhs) { |
31 lhs += rhs; |
31 lhs += rhs; |
|
32 return lhs; |
|
33 } |
|
34 |
|
35 inline Tickspan operator-(Tickspan lhs, const Tickspan& rhs) { |
|
36 lhs -= rhs; |
32 return lhs; |
37 return lhs; |
33 } |
38 } |
34 |
39 |
35 inline bool operator==(const Tickspan& lhs, const Tickspan& rhs) { |
40 inline bool operator==(const Tickspan& lhs, const Tickspan& rhs) { |
36 return lhs.value() == rhs.value(); |
41 return lhs.value() == rhs.value(); |