Fix bug in comparison code
This commit is contained in:
parent
0531a19d90
commit
e8f7dd0911
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ void generate_comparison(const cppast::cpp_file& file)
|
|||
{
|
||||
if (has_token(attribute.arguments().value(), "=="))
|
||||
generate_op_equal(std::cout, class_);
|
||||
else if (has_token(attribute.arguments().value(), "!="))
|
||||
if (has_token(attribute.arguments().value(), "!="))
|
||||
generate_op_non_equal(std::cout, class_);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue