summaryrefslogtreecommitdiff
path: root/kms++/inc
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-23 15:47:50 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-09-27 13:47:29 +0300
commit09e7a23d50cce61f16a1cbd39079c1075ca149f8 (patch)
tree8002ac3f2803bcb24e99ef84f2bb5fcecb0626f8 /kms++/inc
parentbddd4eba6bcfd4d3ea3ae824a17a77c8afcb13a5 (diff)
Card: virtual destructor
Add virtual destructor so Card can be inherited. Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Diffstat (limited to 'kms++/inc')
-rw-r--r--kms++/inc/kms++/card.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/inc/kms++/card.h b/kms++/inc/kms++/card.h
index 09c9bba..90ad1f6 100644
--- a/kms++/inc/kms++/card.h
+++ b/kms++/inc/kms++/card.h
@@ -15,7 +15,7 @@ class Card
public:
Card();
Card(const std::string& device);
- ~Card();
+ virtual ~Card();
Card(const Card& other) = delete;
Card& operator=(const Card& other) = delete;