forked from boostorg/regex
Suppress warnings when exceptions are turned off on gcc.
[SVN r28822]
This commit is contained in:
@ -159,6 +159,8 @@ void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_c
|
||||
boost::regex_error e(message, error_code, position);
|
||||
e.raise();
|
||||
}
|
||||
#else
|
||||
(void)position; // suppress warnings.
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user