We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f5b52e commit e3fc743Copy full SHA for e3fc743
include/geode/basic/range.hpp
@@ -81,9 +81,11 @@ namespace geode
81
: iter_( static_cast< Type >( begin ) ),
82
last_( static_cast< Type >( end ) )
83
{
84
- OPENGEODE_EXCEPTION( begin <= std::numeric_limits< Type >::max(),
+ OPENGEODE_EXCEPTION( begin <= static_cast< T1 >(
85
+ std::numeric_limits< Type >::max() ),
86
"[Range] Invalid range" );
- OPENGEODE_EXCEPTION( end <= std::numeric_limits< Type >::max(),
87
+ OPENGEODE_EXCEPTION(
88
+ end <= static_cast< T2 >( std::numeric_limits< Type >::max() ),
89
90
}
91
0 commit comments