From 73a5381d2ee88392cf1789dfe6e435df0dc8dcb1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Sch=C3=B6berl?= Date: Thu, 15 Mar 2018 19:00:50 +0100 Subject: [PATCH] virtual dtro in Archive --- libsrc/general/archive_base.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libsrc/general/archive_base.hpp b/libsrc/general/archive_base.hpp index 1ea2ffa0..7febab84 100644 --- a/libsrc/general/archive_base.hpp +++ b/libsrc/general/archive_base.hpp @@ -11,6 +11,8 @@ namespace ngstd bool is_output; public: Archive (bool ais_output) : is_output(ais_output) { ; } + virtual ~Archive() { ; } + bool Output () { return is_output; } bool Input () { return !is_output; }