Fix C++ compiler warning.
classes with virtual methods must have virtual destructors. Otherwise, destruction may not work corectly.
This commit is contained in:
parent
18edf2f15f
commit
1922a0df9e
|
|
@ -474,7 +474,7 @@ class vvp_vector4array_t {
|
|||
|
||||
public:
|
||||
vvp_vector4array_t(unsigned width, unsigned words);
|
||||
~vvp_vector4array_t();
|
||||
virtual ~vvp_vector4array_t();
|
||||
|
||||
unsigned width() const { return width_; }
|
||||
unsigned words() const { return words_; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue