Suppress warnings when exceptions are turned off on gcc.

[SVN r28822]
This commit is contained in:
John Maddock
2005-05-11 14:29:53 +00:00
parent 0d5dcf41d9
commit 9a3fee10dd

View File

@ -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); boost::regex_error e(message, error_code, position);
e.raise(); e.raise();
} }
#else
(void)position; // suppress warnings.
#endif #endif
} }