mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 13:26:38 +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 <cctype>
|
||||
#ifndef __sgi
|
||||
#ifdef __KCC
|
||||
#include <ios>
|
||||
#endif
|
||||
@ -226,4 +227,6 @@ using ::toupper;
|
||||
|
||||
} // namespace std
|
||||
|
||||
#endif // __sgi
|
||||
|
||||
#endif
|
||||
|
@ -736,7 +736,6 @@ bool perl_matcher<BidiIterator, Allocator, traits, Allocator2>::find_restart_lit
|
||||
int len = info->len;
|
||||
const char_type* x = info->pstr;
|
||||
int j = 0;
|
||||
bool icase = re.flags() & regex_constants::icase;
|
||||
while (position != last)
|
||||
{
|
||||
while((j > -1) && (x[j] != traits_inst.translate(*position, icase)))
|
||||
|
Reference in New Issue
Block a user