diff options
Diffstat (limited to 'boost/spirit/home/karma/char/char_class.hpp')
-rw-r--r-- | boost/spirit/home/karma/char/char_class.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/boost/spirit/home/karma/char/char_class.hpp b/boost/spirit/home/karma/char/char_class.hpp index f3c7ab1821..30858b1691 100644 --- a/boost/spirit/home/karma/char/char_class.hpp +++ b/boost/spirit/home/karma/char/char_class.hpp @@ -95,11 +95,11 @@ namespace boost { namespace spirit { namespace karma template <typename CharParam, typename Context> bool test(unused_type, CharParam&, Context&) const { - // It is not possible (doesn't make sense) to use char_ generators - // without providing any attribute, as the generator doesn't 'know' + // It is not possible (doesn't make sense) to use char_ generators + // without providing any attribute, as the generator doesn't 'know' // what to output. The following assertion fires if this situation // is detected in your code. - BOOST_SPIRIT_ASSERT_MSG(false + BOOST_SPIRIT_ASSERT_FAIL(CharParam , char_class_not_usable_without_attribute, ()); return false; } |