Skip to content
Snippets Groups Projects
Commit 3965b4b8 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

make min max of semirandom device constexpr

parent 188a3055
No related branches found
No related tags found
1 merge request!142Fix most of libstdc++ vs libc++ incompatibilty
......@@ -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() ;
}
 
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment