summaryrefslogtreecommitdiff
path: root/src/encoder.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/encoder.hpp')
-rw-r--r--src/encoder.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/encoder.hpp b/src/encoder.hpp
index 10fe912..995802f 100644
--- a/src/encoder.hpp
+++ b/src/encoder.hpp
@@ -50,6 +50,8 @@ namespace zmq
zmq_assert (buf);
}
+ // The destructor doesn't have to be virtual. It is mad virtual
+ // just to keep ICC and code checking tools from complaining.
inline ~encoder_t ()
{
free (buf);