Skip to content

Commit

Permalink
cc: typing: fix type data polymorphism
Browse files Browse the repository at this point in the history
  • Loading branch information
atirut-w committed Jul 27, 2024
1 parent 1e7cf9b commit e44ecf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cc/include/types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
struct Type
{
int size;
~Type() {} // Force polymorphism
virtual ~Type() = default; // Force polymorphism
};

// TODO: Flesh this out
Expand Down

0 comments on commit e44ecf2

Please sign in to comment.