From 99104a932f5e0fbeace78c843d7dbb25e9ae10de Mon Sep 17 00:00:00 2001 From: Martin Brodbeck Date: Mon, 7 Oct 2019 08:32:37 +0200 Subject: [PATCH] code cleanup --- src/core/article.h | 2 +- src/core/seller.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/article.h b/src/core/article.h index 50c0a9d..990ea1f 100644 --- a/src/core/article.h +++ b/src/core/article.h @@ -16,7 +16,7 @@ class Article : public EntityUuid public: Article() = default; Article(int price); - //virtual ~Article() = default; + virtual ~Article() = default; void setArticleNo(int articleNo); void setPrice(int price); diff --git a/src/core/seller.h b/src/core/seller.h index a4bfde1..0c84958 100644 --- a/src/core/seller.h +++ b/src/core/seller.h @@ -14,7 +14,7 @@ class Seller : public EntityInt { public: Seller() = default; - ~Seller() = default; + virtual ~Seller() = default; Seller(const std::string& firstName, const std::string& lastName, int sellerNo = 0, int numArticlesOffered = 0);