commit | 7f20d6ec6c22dd37ba3eb5657aeab2c193558013 | [log] [tgz] |
---|---|---|
author | Davide Pesavento <davide.pesavento@lip6.fr> | Mon Jan 16 14:43:58 2017 -0500 |
committer | Davide Pesavento <davide.pesavento@lip6.fr> | Mon Jan 16 14:48:06 2017 -0500 |
tree | ff54faae00c2cce0d53316ff18494ed08ff52080 | |
parent | 574aa86e88168e812fe7c40c3a42ab82eada68bd [diff] [blame] |
build+src: mark destructor virtual in classes with virtual functions And to prevent similar mistakes in the future, add -Wnon-virtual-dtor to the default build flags. Change-Id: I28e2361341abab29fca134309288cd259736d67a
diff --git a/src/face.hpp b/src/face.hpp index 1940928..a6cd4da 100644 --- a/src/face.hpp +++ b/src/face.hpp
@@ -231,6 +231,7 @@ */ Face(shared_ptr<Transport> transport, boost::asio::io_service& ioService, KeyChain& keyChain); + virtual ~Face(); public: // consumer