Changeset 11054 for trunk/qt/speed.h


Ignore:
Timestamp:
Jul 25, 2010, 8:36:33 PM (12 years ago)
Author:
charles
Message:

(trunk qt) silence a few compiler warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/qt/speed.h

    r10957 r11054  
    2828        static Speed fromKBps( double KBps );
    2929        static Speed fromBps( int Bps ) { return Speed( Bps ); }
    30         void setBps( double Bps ) { _Bps = Bps; }
     30        void setBps( int Bps ) { _Bps = Bps; }
    3131        Speed& operator+=( const Speed& that ) { _Bps += that._Bps; return *this; }
    3232        Speed operator+( const Speed& that ) const { return Speed( _Bps + that._Bps ); }
Note: See TracChangeset for help on using the changeset viewer.