Corrected value_expr annotation comparisons
This commit is contained in:
parent
1a6ec4e8b4
commit
605fcde2e7
1 changed files with 3 additions and 1 deletions
|
|
@ -93,7 +93,9 @@ struct annotation_t : public supports_flags<>,
|
||||||
return (price == rhs.price &&
|
return (price == rhs.price &&
|
||||||
date == rhs.date &&
|
date == rhs.date &&
|
||||||
tag == rhs.tag &&
|
tag == rhs.tag &&
|
||||||
value_expr == rhs.value_expr);
|
(value_expr && rhs.value_expr ?
|
||||||
|
value_expr->text() == rhs.value_expr->text() :
|
||||||
|
value_expr == rhs.value_expr));
|
||||||
}
|
}
|
||||||
|
|
||||||
void parse(std::istream& in);
|
void parse(std::istream& in);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue