Skip to content

Commit

Permalink
Update ex7_06.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Mooophy authored and pezy committed Jun 24, 2015
1 parent e9005ef commit c638184
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch07/ex7_06.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
#include <iostream>

struct Sales_data {
std::string isbn() const { return bookNo; };
std::string const& isbn() const { return bookNo; };
Sales_data& combine(const Sales_data&);

std::string bookNo;
unsigned units_sold = 0;
double revenue = 0.0;
Expand Down

0 comments on commit c638184

Please sign in to comment.