summaryrefslogtreecommitdiff
path: root/src/yarray_item.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/yarray_item.hpp')
-rw-r--r--src/yarray_item.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/yarray_item.hpp b/src/yarray_item.hpp
index b6d89cc..db24dda 100644
--- a/src/yarray_item.hpp
+++ b/src/yarray_item.hpp
@@ -35,7 +35,9 @@ namespace zmq
{
}
- inline ~yarray_item_t ()
+ // The destructor doesn't have to be virtual. It is mad virtual
+ // just to keep ICC and code checking tools from complaining.
+ inline virtual ~yarray_item_t ()
{
}