Skip to content

Commit

Permalink
Cleanup TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
wichtounet committed Oct 8, 2023
1 parent e2dbc69 commit ead81c1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/budget.cpp
Expand Up @@ -270,8 +270,6 @@ int main(int argc, const char* argv[]) {
code = 1;
}
} catch (const budget_exception& exception) {
// TODO We should be able to differentiate between real errors and
// command line errors
std::cout << exception.message() << std::endl;

code = 2;
Expand Down
2 changes: 1 addition & 1 deletion src/config.cpp
Expand Up @@ -352,7 +352,7 @@ bool budget::net_worth_over_fortune(){
// By default, fortune is the thing being taken into account
// Unless it's not used and net worth is used

// TODO This can be a very expensive operation!
// This can be a very expensive operation! If this ever causes issues, I should find a better solution
return !no_asset_values() && no_fortunes();
}

Expand Down
2 changes: 1 addition & 1 deletion src/console_writer.cpp
Expand Up @@ -336,5 +336,5 @@ void budget::console_writer::display_graph([[maybe_unused]] std::string_view
[[maybe_unused]] std::vector<std::string>& categories,
[[maybe_unused]] std::vector<std::string> series_names,
[[maybe_unused]] std::vector<std::vector<float>>& series_values) {
os << "TODO: unimplemented" << std::endl;
os << "unimplemented" << std::endl;
}
2 changes: 1 addition & 1 deletion src/money.cpp
Expand Up @@ -22,7 +22,7 @@ money budget::money_from_string(std::string_view money_sv){

// In order to read locale-dependent data (legacy), we need
// to allow , in the numbers
// TODO In the future, we can remove this code
// In the future, we can remove this code
std::erase(money_string, ',');

int dollars = 0;
Expand Down

0 comments on commit ead81c1

Please sign in to comment.