diff options
| author | Fuwn <[email protected]> | 2024-05-31 00:00:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-05-31 00:20:41 -0700 |
| commit | 968e1c4af014b7f40bfaa4f57fcc0f38e5e0d847 (patch) | |
| tree | df80525ad0cc9e4b561bfb0772c30ccc5b64b4a2 /source/member.cc | |
| parent | feat: initial commit (diff) | |
| download | cst_136_assignment_eight-main.tar.xz cst_136_assignment_eight-main.zip | |
Diffstat (limited to 'source/member.cc')
| -rw-r--r-- | source/member.cc | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/source/member.cc b/source/member.cc deleted file mode 100644 index 0e8a41c..0000000 --- a/source/member.cc +++ /dev/null @@ -1,23 +0,0 @@ -#include <book_store/book.hh> -#include <book_store/member.hh> -#include <book_store/price.hh> - -namespace book_store::consumer { -using namespace product; - -auto member::books_bought() const noexcept -> book::size_type { - return this->_books_bought; -} - -auto member::amount_spent() const noexcept -> price::usd { - return this->_amount_spent; -} - -auto member::books_bought(book::size_type books_bought) noexcept -> void { - this->_books_bought = books_bought; -} - -auto member::amount_spent(price::usd amount_spent) noexcept -> void { - this->_amount_spent = amount_spent; -} -} // namespace book_store::consumer |