mirror of
https://github.com/bolero-MURAKAMI/Sprout
synced 2024-11-12 21:09:01 +00:00
support for GCC5.2.0
This commit is contained in:
parent
844e8a1fc2
commit
8f33f038d1
1 changed files with 2 additions and 2 deletions
|
@ -691,7 +691,7 @@ namespace sprout {
|
|||
}
|
||||
SPROUT_CONSTEXPR size_type
|
||||
find_first_not_of(value_type const* s, size_type pos, size_type n) const {
|
||||
#if SPROUT_GCC_IN_RANGE((5, 1, 0), (5, 1, 1))
|
||||
#if SPROUT_GCC_IN_RANGE((5, 1, 0), (5, 3, 0))
|
||||
return sprout::string_detail::find_first_not_of_impl<basic_string>(begin(), size(), sprout::ptr_index(s), pos, n);
|
||||
#else
|
||||
return sprout::string_detail::find_first_not_of_impl<basic_string>(begin(), size(), s, pos, n);
|
||||
|
@ -712,7 +712,7 @@ namespace sprout {
|
|||
}
|
||||
SPROUT_CONSTEXPR size_type
|
||||
find_last_not_of(value_type const* s, size_type pos, size_type n) const {
|
||||
#if SPROUT_GCC_IN_RANGE((5, 1, 0), (5, 1, 1))
|
||||
#if SPROUT_GCC_IN_RANGE((5, 1, 0), (5, 3, 0))
|
||||
return sprout::string_detail::find_last_not_of_impl<basic_string>(begin(), size(), sprout::ptr_index(s), pos, n);
|
||||
#else
|
||||
return sprout::string_detail::find_last_not_of_impl<basic_string>(begin(), size(), s, pos, n);
|
||||
|
|
Loading…
Reference in a new issue