Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Oct 9, 2023
1 parent 92a9b9e commit e80e79b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/liabilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -488,9 +488,7 @@ void budget::migrate_liabilities_6_to_7(){
reader >> liability.name;
reader >> liability.currency;

auto asset_classes = all_asset_classes();

for (auto & clas : asset_classes) {
for (auto asset_classes = all_asset_classes(); auto & clas : asset_classes) {
liability.classes.emplace_back(clas.id, 0);
}

Expand Down

0 comments on commit e80e79b

Please sign in to comment.