Commit 3965b4b8 authored by Ing. Jan Trávníček's avatar Ing. Jan Trávníček

make min max of semirandom device constexpr

parent 188a3055
......@@ -104,7 +104,7 @@ private:
*
* \return minimal value in the range of generated values
*/
result_type min() {
static constexpr result_type min() {
return 0;
}
......@@ -114,7 +114,7 @@ private:
*
* \return maximal value in the range of generated values
*/
result_type max() {
static constexpr result_type max() {
return std::numeric_limits<result_type>::max() ;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment