# | Line 15 | Line 15 | template<int Seconds> | |
---|---|---|
15 | class Period | |
16 | { | |
17 | private: | |
18 | < | int seconds; |
18 | > | uint64_t seconds; |
19 | public: | |
20 | < | Period(int period) : seconds(period * Seconds) {} |
21 | < | operator int() const { return seconds; } |
20 | > | Period(uint64_t period) : seconds(period * Seconds) {} |
21 | > | operator uint64_t() const { return seconds; } |
22 | }; | |
23 | ||
24 | typedef Period<60> Minute; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |