code cleanup

This commit is contained in:
Martin Brodbeck 2018-07-20 11:52:26 +02:00
parent 74719b762f
commit 6000bb3ef2
17 changed files with 65 additions and 67 deletions

View file

@ -1,6 +1,6 @@
#include "article.h"
Article::Article() : Entity() {}
//Article::Article() : Entity() {}
// Article::Article(std::shared_ptr<Seller> sellerPtr) : Entity() { sellerPtr_ = sellerPtr; }
@ -20,8 +20,6 @@ std::string Article::getDescription() { return description_; }
Seller* Article::getSeller() { return sellerPtr_; }
int Article::getPrice() { return price_; }
int Article::getPrice() const { return price_; }
int Article::getArticleNo() {
return articleNo_;
}
int Article::getArticleNo() { return articleNo_; }