Allow subclassing of rmi::Client and rmi::Service 59/143759/1
authorJaemin Ryu <jm77.ryu@samsung.com>
Fri, 11 Aug 2017 07:15:11 +0000 (16:15 +0900)
committerJaemin Ryu <jm77.ryu@samsung.com>
Fri, 11 Aug 2017 07:23:00 +0000 (16:23 +0900)
Change-Id: I8d52a236bfffe7f0d4e15af9729bf934e8d317b3
Signed-off-by: Jaemin Ryu <jm77.ryu@samsung.com>
include/klay/rmi/client.h
include/klay/rmi/service.h

index 9a0d2bced7161ddfb10fd96008832f074371c60d..dfb43a67566795fcb7640a4fbb374e2628b6a1db 100644 (file)
@@ -32,7 +32,7 @@ namespace rmi {
 class Client {
 public:
        Client(const std::string& address);
-       ~Client();
+       virtual ~Client();
 
        Client(const Client&) = delete;
        Client& operator=(const Client&) = delete;
index ec84554e70b2a31b401c88cd5ba1c0e7cb703d76..a08492c68744208e046f53a02d30296d7c5dafad 100644 (file)
@@ -148,7 +148,7 @@ typedef std::function<void(const Credentials& cred, const std::string& method, i
 class Service {
 public:
        Service(const std::string& address);
-       ~Service();
+       virtual ~Service();
 
        Service(const Service&) = delete;
        Service& operator=(const Service&) = delete;