Fixes to suppress VC7.1 warnings: just rename a few variables to work around the issue.

[SVN r29652]
This commit is contained in:
John Maddock
2005-06-17 11:18:05 +00:00
parent c18e751bfc
commit 799901aafc

View File

@ -83,12 +83,12 @@ void cpp_regex_traits_char_layer<char>::init()
else
{
#endif
for(regex_constants::syntax_type i = 1; i < regex_constants::syntax_max; ++i)
for(regex_constants::syntax_type j = 1; j < regex_constants::syntax_max; ++j)
{
const char* ptr = get_default_syntax(i);
const char* ptr = get_default_syntax(j);
while(ptr && *ptr)
{
m_char_map[static_cast<unsigned char>(*ptr)] = i;
m_char_map[static_cast<unsigned char>(*ptr)] = j;
++ptr;
}
}