|
|
@ -72,7 +72,8 @@ namespace libtorrent |
|
|
|
{ return time_duration(diff + c.diff); } |
|
|
|
{ return time_duration(diff + c.diff); } |
|
|
|
time_duration operator-(time_duration const& c) |
|
|
|
time_duration operator-(time_duration const& c) |
|
|
|
{ return time_duration(diff - c.diff); } |
|
|
|
{ return time_duration(diff - c.diff); } |
|
|
|
time_duration operator*(double rhs) const { return time_duration( boost::int64_t (diff * rhs) ); } |
|
|
|
time_duration operator*(const double rhs) const |
|
|
|
|
|
|
|
{ return time_duration( boost::int64_t (diff * rhs) ); } |
|
|
|
|
|
|
|
|
|
|
|
// internal
|
|
|
|
// internal
|
|
|
|
boost::int64_t diff; |
|
|
|
boost::int64_t diff; |
|
|
|