Browse Source

unify style

miguelfreitas
Denis Ryabov 11 years ago
parent
commit
f08567e650
  1. 3
      libtorrent/include/libtorrent/ptime.hpp

3
libtorrent/include/libtorrent/ptime.hpp

@ -72,7 +72,8 @@ namespace libtorrent @@ -72,7 +72,8 @@ namespace libtorrent
{ return time_duration(diff + c.diff); }
time_duration operator-(time_duration const& c)
{ 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
boost::int64_t diff;

Loading…
Cancel
Save