Skip to content

Commit d14ece9

Browse files
committed
making PacketValue destructor virtual so that CLang doesn't cry
1 parent 8212c6c commit d14ece9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Inc/HALAL/Models/Packets/PacketValue.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ template <> class PacketValue<> {
1111
public:
1212
using value_type = empty_type;
1313
PacketValue() = default;
14-
~PacketValue() = default;
14+
virtual ~PacketValue() = default;
1515
virtual void* get_pointer() = 0;
1616
virtual void set_pointer(void* pointer) = 0;
1717
virtual size_t get_size() = 0;

0 commit comments

Comments
 (0)