2
0
mirror of https://github.com/boostorg/spirit.git synced 2026-01-19 04:42:11 +00:00

Missing inline keyword. Fixes #638

This commit is contained in:
Nikita Kniazev
2021-01-26 23:16:25 +03:00
committed by GitHub
parent da18e0b79e
commit f3998fb2bb

View File

@@ -540,7 +540,7 @@ namespace boost { namespace spirit
BOOST_SPIRIT_UTREE_CREATE_INTEGRAL_FUNCTION(UNARY, invert, ~a)
// avoid `'~' on an expression of type bool` warning
template <> utree function_impl_invert::eval<bool>(bool const& a)
template <> inline utree function_impl_invert::eval<bool>(bool const& a)
{
return utree(!a);
}