Skip to content

Commit

Permalink
Update bulk_quote.h
Browse files Browse the repository at this point in the history
  • Loading branch information
qwert2603 authored and pezy committed Mar 9, 2015
1 parent b163ecc commit 2426550
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ch15/ex15.26/bulk_quote.h
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ class Bulk_quote : public Disc_quote
{ std::cout << "Bulk_quote : copy constructor\n"; }

//! move constructor
Bulk_quote(Bulk_quote&& bq) : Disc_quote(std::move(bq))
Bulk_quote(Bulk_quote&& bq) : Disc_quote(std::move(bq)) noexcept
{
std::cout << "Bulk_quote : move constructor\n";
}
@@ -31,7 +31,7 @@ class Bulk_quote : public Disc_quote


//! move =()
Bulk_quote& operator =(Bulk_quote&& rhs)
Bulk_quote& operator =(Bulk_quote&& rhs) noexcept
{
Disc_quote::operator =(std::move(rhs));
std::cout << "Bulk_quote : move =()\n";

0 comments on commit 2426550

Please sign in to comment.