2
0
mirror of https://github.com/boostorg/regex.git synced 2026-02-13 12:42:16 +00:00

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);
e.raise();
}
#else
(void)position; // suppress warnings.
#endif
}