summaryrefslogtreecommitdiff
path: root/cpp/demo/Ice/properties/Server.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-05-12 16:30:12 -0400
committerBernard Normier <bernard@zeroc.com>2014-05-12 16:30:12 -0400
commit481781df658366302f14007857549cfd30e9aa94 (patch)
tree6d5ead53317a06621cc20d540ce561bd435b4a49 /cpp/demo/Ice/properties/Server.cpp
parentFixed problem introduced with latest fix (htons/ntohs should only be defined ... (diff)
downloadice-481781df658366302f14007857549cfd30e9aa94.tar.bz2
ice-481781df658366302f14007857549cfd30e9aa94.tar.xz
ice-481781df658366302f14007857549cfd30e9aa94.zip
Removed more unnecessary virtual inheritance from demos
Diffstat (limited to 'cpp/demo/Ice/properties/Server.cpp')
-rw-r--r--cpp/demo/Ice/properties/Server.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/cpp/demo/Ice/properties/Server.cpp b/cpp/demo/Ice/properties/Server.cpp
index 65534d680ab..d95a0073fcb 100644
--- a/cpp/demo/Ice/properties/Server.cpp
+++ b/cpp/demo/Ice/properties/Server.cpp
@@ -14,12 +14,10 @@ using namespace std;
//
// The servant implements the Slice interface Demo::Props as well as the
-// native callback class Ice::PropertiesAdminUpdateCallback. Since both
-// base classes inherit from IceUtil::Shared, the servant must use
-// virtual inheritance.
+// native callback class Ice::PropertiesAdminUpdateCallback.
//
-class PropsI : virtual public Demo::Props,
- virtual public Ice::PropertiesAdminUpdateCallback,
+class PropsI : public Demo::Props,
+ public Ice::PropertiesAdminUpdateCallback,
IceUtil::Monitor<IceUtil::Mutex>
{
public: