mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 21:32:18 +02:00
Disabled workarounds for SGI compiler - they don't work and shouldn't be needed.
Removed local declaration of icase, when class member should do. [SVN r19085]
This commit is contained in:
@ -25,6 +25,7 @@
|
|||||||
|
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
#include <cctype>
|
#include <cctype>
|
||||||
|
#ifndef __sgi
|
||||||
#ifdef __KCC
|
#ifdef __KCC
|
||||||
#include <ios>
|
#include <ios>
|
||||||
#endif
|
#endif
|
||||||
@ -226,4 +227,6 @@ using ::toupper;
|
|||||||
|
|
||||||
} // namespace std
|
} // namespace std
|
||||||
|
|
||||||
|
#endif // __sgi
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@ -736,7 +736,6 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::find_restart_lit
|
|||||||
int len = info->len;
|
int len = info->len;
|
||||||
const char_type* x = info->pstr;
|
const char_type* x = info->pstr;
|
||||||
int j = 0;
|
int j = 0;
|
||||||
bool icase = re.flags() & regex_constants::icase;
|
|
||||||
while (position != last)
|
while (position != last)
|
||||||
{
|
{
|
||||||
while((j > -1) && (x[j] != traits_inst.translate(*position, icase)))
|
while((j > -1) && (x[j] != traits_inst.translate(*position, icase)))
|
||||||
|
Reference in New Issue
Block a user