From 3561537001245cb0dd32616c78ca76968d92a5f1 Mon Sep 17 00:00:00 2001 From: houndthe Date: Fri, 9 Jul 2021 16:22:26 +0200 Subject: [PATCH] Add virtual destructor for Resource class --- include/retdec/fileformat/types/resource_table/resource.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/retdec/fileformat/types/resource_table/resource.h b/include/retdec/fileformat/types/resource_table/resource.h index c2e1eee48..5d72d0123 100644 --- a/include/retdec/fileformat/types/resource_table/resource.h +++ b/include/retdec/fileformat/types/resource_table/resource.h @@ -42,6 +42,7 @@ class Resource bool sublanguageIdIsValid = false; ///< @c true if sublanguage ID is valid bool loaded = false; ///< @c true if content of resource was successfully loaded from input file public: + virtual ~Resource() = default; /// @name Getters /// @{ std::string getCrc32() const;