commit | 43d6c0a9556a4d469fb8587e357cb5fab831b6ed | [log] [tgz] |
---|---|---|
author | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 12:35:48 2013 -0700 |
committer | Jeff Thompson <jefft0@gmail.com> | Mon Aug 12 12:35:48 2013 -0700 |
tree | 6b948b3a8ba7d7e4113a81567946aab9e0ade331 | |
parent | 9254d746d34e6bdd70a262a0eadca103991943d2 [diff] [blame] |
Added a virtual destructor.
diff --git a/ndn-cpp/transport/transport.hpp b/ndn-cpp/transport/transport.hpp index 4be901f..3246340 100644 --- a/ndn-cpp/transport/transport.hpp +++ b/ndn-cpp/transport/transport.hpp
@@ -44,6 +44,8 @@ * Close the connection. This base class implementation does nothing, but your derived class can override. */ virtual void close(); + + virtual ~Transport(); }; }