From ddc24f330e759fc9e73f69fdf445d76d064d37da Mon Sep 17 00:00:00 2001 From: David Mott Date: Sat, 2 Jul 2016 06:39:37 -0500 Subject: [PATCH] minor debt correction --- include/xtd/rpc.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/xtd/rpc.hpp b/include/xtd/rpc.hpp index 449b63d..cb8cdcc 100644 --- a/include/xtd/rpc.hpp +++ b/include/xtd/rpc.hpp @@ -175,6 +175,7 @@ namespace xtd { public: using pointer_type = std::shared_ptr; using vector_type = std::vector; + virtual ~invoker_base() = default; virtual void invoke(payload_type&) = 0; }; @@ -183,6 +184,7 @@ namespace xtd { template class invoker : public invoker_base { public: + virtual ~invoker() = default; using handler_type = std::function<_ReturnT(_ArgTs...)>; handler_type _Handler; virtual void invoke(payload_type& oPayload) override { @@ -255,6 +257,7 @@ namespace xtd { public: using client_type = null_transport; template null_transport(_ArgTs&&...oArgs){} + virtual ~null_transport() = default; virtual void start_server(){} virtual void stop_server(){} virtual void handle_client(client_type&& oClient){} @@ -357,6 +360,7 @@ namespace xtd { client() = delete; client(const client&) = delete; + virtual ~client() = default; template typename _CallT::return_type call(_CallArgsT&&...oArgs) {