ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/zoe/trunk/Stamp.hpp
(Generate patch)

Comparing trunk/Stamp.hpp (file contents):
Revision 34 by douglas, 2004-07-20T16:49:06-07:00 vs.
Revision 35 by douglas, 2004-07-21T20:43:31-07:00

# 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines