Changeset 92:e3a0abb22ef4 in xplra for src/plugin


Ignore:
Timestamp:
09/21/17 17:00:26 (7 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
Phase:
public
Message:

C++11 compatibility

Location:
src/plugin/src/xplra
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/plugin/src/xplra/MessageWindow.h

    r51 r92  
    9898     * started to be scrolled, if it should be scrolled.
    9999     */
    100     static const float scrollTimeout = 1.0;
     100    static constexpr float scrollTimeout = 1.0;
    101101
    102102    /**
    103103     * The amount of time in seconds between each character step.
    104104     */
    105     static const float scrollInterval = 0.1;
     105    static constexpr float scrollInterval = 0.1;
    106106
    107107private:
  • src/plugin/src/xplra/Protocol.h

    r81 r92  
    259259     * The maximal message duration
    260260     */
    261     static const float MAX_MESSAGE_DURATION = 5*60;
     261    static constexpr float MAX_MESSAGE_DURATION = 5*60;
    262262
    263263    /**
  • src/plugin/src/xplra/RequestQueue.h

    r13 r92  
    7676     * The interval of the flight loop.
    7777     */
    78     static const float flightLoopInterval = 0.1;
     78    static constexpr float flightLoopInterval = 0.1;
    7979#endif
    8080
Note: See TracChangeset for help on using the changeset viewer.