Changeset 867 for cpp/common/random.h


Ignore:
Timestamp:
04/21/19 16:36:22 (5 years ago)
Author:
Maciej Komosinski
Message:

Code formatting + cosmetic fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/random.h

    r843 r867  
    116116        //UniformRandomBitGenerator
    117117        typedef unsigned int result_type;
    118         static unsigned int min() {return 0;}
    119         static unsigned int max() {return MAXVALUE;}
     118        static constexpr unsigned int min() {return 0;}
     119        static constexpr unsigned int max() {return MAXVALUE;}
    120120        inline unsigned int operator()() {return getUint32();}
    121121
Note: See TracChangeset for help on using the changeset viewer.