mirror of
https://github.com/steveicarus/iverilog.git
synced 2026-08-28 16:53:45 +02:00
Fix C++ compiler warning.
classes with virtual methods must have virtual destructors. Otherwise, destruction may not work corectly.
This commit is contained in:
+1
-1
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user