Skip to content

Commit

Permalink
Update unnecessary operator
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Sep 26, 2023
1 parent 5afdc6d commit 877e7eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/currency.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct currency_cache_key {
currency_cache_key(const budget::date& date, std::string_view from, std::string_view to)
: date(date), from(from), to(to) {}

friend bool operator<=>(const currency_cache_key & lhs, const currency_cache_key & rhs) = default;
friend bool operator==(const currency_cache_key & lhs, const currency_cache_key & rhs) = default;
};

// We use a struct so that we can store values of 1 that can indicate either
Expand Down

0 comments on commit 877e7eb

Please sign in to comment.