Clean-ups and fixes to compile with more warnings enabled and with g++.
[invirt/third/libt4.git] / rpc / connection.h
index 3133299..1bcb7b6 100644 (file)
@@ -9,14 +9,12 @@
 
 constexpr size_t size_t_max = numeric_limits<size_t>::max();
 
-class thread_exit_exception : exception {};
-
 class connection;
 
 class connection_delegate {
     public:
         virtual bool got_pdu(const shared_ptr<connection> & c, const string & b) = 0;
-        virtual ~connection_delegate() {}
+        virtual ~connection_delegate();
 };
 
 class connection : private aio_callback, public enable_shared_from_this<connection> {