diff options
Diffstat (limited to 'boost/spirit/home/qi/detail/attributes.hpp')
-rw-r--r-- | boost/spirit/home/qi/detail/attributes.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/spirit/home/qi/detail/attributes.hpp b/boost/spirit/home/qi/detail/attributes.hpp index 0a66a65586..6e8ce13f83 100644 --- a/boost/spirit/home/qi/detail/attributes.hpp +++ b/boost/spirit/home/qi/detail/attributes.hpp @@ -90,7 +90,7 @@ namespace boost { namespace spirit { namespace qi static void post(boost::optional<Exposed>&, Transformed const&) {} static void fail(boost::optional<Exposed>& val) { - val = none_t(); // leave optional uninitialized if rhs failed + val = none; // leave optional uninitialized if rhs failed } }; |