forked from boostorg/static_string
Fix is_inside for C++11
This commit is contained in:
1 parent
ad4a2f191b
commit
f4e335411e
1 file changed
+2
-1
@@ -585,7 +585,8 @@ is_inside(
|
|||||||
const T* src_last,
|
const T* src_last,
|
||||||
const T* ptr)
|
const T* ptr)
|
||||||
{
|
{
|
||||||
return std::greater_equal<void>()(ptr, src_first) && std::less_equal<void>()(ptr, src_last);
|
return std::greater_equal<const T*>()(ptr, src_first) &&
|
||||||
|
std::less_equal<const T*>()(ptr, src_last);
|
||||||
}
|
}
|
||||||
|
|
||||||
} // detail
|
} // detail
|
||||||
|
|||||||
Reference in new issue
Block a user