Skip to content

Commit

Permalink
Add virtual destructor for Resource class
Browse files Browse the repository at this point in the history
  • Loading branch information
HoundThe authored and PeterMatula committed Jul 16, 2021
1 parent a2a4226 commit c9fa7b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions include/retdec/fileformat/types/resource_table/resource.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c9fa7b0

Please sign in to comment.