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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user