summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EventHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/EventHandler.h')
-rw-r--r--cpp/src/Ice/EventHandler.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cpp/src/Ice/EventHandler.h b/cpp/src/Ice/EventHandler.h
index a47a1899d10..47e4473ca1b 100644
--- a/cpp/src/Ice/EventHandler.h
+++ b/cpp/src/Ice/EventHandler.h
@@ -16,11 +16,17 @@
#include <Ice/ThreadPoolF.h>
#include <Ice/BasicStream.h>
#include <Ice/Network.h>
+#include <Ice/VirtualShared.h>
namespace IceInternal
{
-class ICE_API EventHandler : virtual public ::Ice::LocalObject
+class ICE_API EventHandler :
+#ifdef ICE_CPP11_MAPPING
+ virtual public VirtualShared
+#else
+ virtual public ::Ice::LocalObject
+#endif
{
public: