Skip to content

Commit

Permalink
Fixed #658
Browse files Browse the repository at this point in the history
avoid the meaningless"0 0 0" output.
  • Loading branch information
pezy chen committed May 9, 2018
1 parent 55da3c7 commit 644b87e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ch07/ex7_13.cpp
Expand Up @@ -15,6 +15,7 @@ int main()
std::istream &is = std::cin;
while (is) {
Sales_data trans(is);
if (!is) break;
if (total.isbn() == trans.isbn())
total.combine(trans);
else {
Expand Down

0 comments on commit 644b87e

Please sign in to comment.