summaryrefslogtreecommitdiff
path: root/boost/regex/pending/unicode_iterator.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/regex/pending/unicode_iterator.hpp')
-rw-r--r--boost/regex/pending/unicode_iterator.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/boost/regex/pending/unicode_iterator.hpp b/boost/regex/pending/unicode_iterator.hpp
index 04af426015..becb17ad5f 100644
--- a/boost/regex/pending/unicode_iterator.hpp
+++ b/boost/regex/pending/unicode_iterator.hpp
@@ -117,7 +117,10 @@ inline unsigned utf8_trailing_byte_count(boost::uint8_t c)
#pragma warning(push)
#pragma warning(disable:4100)
#endif
-BOOST_NORETURN inline void invalid_utf32_code_point(::boost::uint32_t val)
+#ifndef BOOST_NO_EXCEPTIONS
+BOOST_NORETURN
+#endif
+inline void invalid_utf32_code_point(::boost::uint32_t val)
{
#ifndef BOOST_NO_STD_LOCALE
std::stringstream ss;