Skip to content

Commit

Permalink
Fix -pedantic on older g++ versions
Browse files Browse the repository at this point in the history
Signed-off-by: Cheng Ho Ming, Eric <eric310@connect.hku.hk>
  • Loading branch information
eric15342335 authored Jun 11, 2024
1 parent 7a794a6 commit e4da61f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/stock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ std::istream & operator>>(std::istream & fin, Stock & stock) {
stock.add_event(loadedEvent);
}
return fin;
};
}

float Stock::purchase(
float & balance, unsigned int amount, float trading_fees_percent) {
Expand Down

0 comments on commit e4da61f

Please sign in to comment.