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:
John Maddock
2003-07-12 10:33:10 +00:00
parent cb9409160a
commit 1c915e3fda
2 changed files with 3 additions and 1 deletions

View File

@ -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

View File

@ -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)))