summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rwxr-xr-xcpp/demo/Ice/session/SessionFactoryI.h4
-rwxr-xr-xcpp/demo/Ice/session/SessionI.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/cpp/demo/Ice/session/SessionFactoryI.h b/cpp/demo/Ice/session/SessionFactoryI.h
index ae9d7765382..7b0a957cf11 100755
--- a/cpp/demo/Ice/session/SessionFactoryI.h
+++ b/cpp/demo/Ice/session/SessionFactoryI.h
@@ -23,7 +23,7 @@ class ReapThread : public IceUtil::Thread, public IceUtil::Monitor<IceUtil::Mute
public:
ReapThread(const SessionFactoryIPtr&, const IceUtil::Time&);
- ~ReapThread();
+ virtual ~ReapThread();
virtual void run();
void destroy();
@@ -41,7 +41,7 @@ class SessionFactoryI : public ::Demo::SessionFactory, public IceUtil::Mutex
public:
SessionFactoryI(const Ice::ObjectAdapterPtr&);
- ~SessionFactoryI();
+ virtual ~SessionFactoryI();
virtual ::Demo::SessionPrx create(const ::Ice::Current&);
virtual void shutdown(const Ice::Current&);
diff --git a/cpp/demo/Ice/session/SessionI.h b/cpp/demo/Ice/session/SessionI.h
index acfe7595750..6a4d85c9328 100755
--- a/cpp/demo/Ice/session/SessionI.h
+++ b/cpp/demo/Ice/session/SessionI.h
@@ -18,7 +18,7 @@ class SessionI : public ::Demo::Session, public IceUtil::Mutex
public:
SessionI(const Ice::ObjectAdapterPtr&, const IceUtil::Time&);
- ~SessionI();
+ virtual ~SessionI();
virtual ::Demo::HelloPrx createHello(const Ice::Current&);
virtual void destroy(const Ice::Current&);