Fix code generation exclusion
This commit is contained in:
parent
68f2ab91a0
commit
4e06906876
2 changed files with 2 additions and 2 deletions
|
|
@ -193,7 +193,7 @@ namespace cppast
|
|||
/// the other functions have no effects.
|
||||
explicit operator bool() const noexcept
|
||||
{
|
||||
return options_ != exclude;
|
||||
return !options_.is_set(exclude);
|
||||
}
|
||||
|
||||
/// \returns The generation options.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue