summaryrefslogtreecommitdiff
path: root/py/modules/IcePy/Communicator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'py/modules/IcePy/Communicator.cpp')
-rw-r--r--py/modules/IcePy/Communicator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/py/modules/IcePy/Communicator.cpp b/py/modules/IcePy/Communicator.cpp
index 221b45704b0..f4698c87b05 100644
--- a/py/modules/IcePy/Communicator.cpp
+++ b/py/modules/IcePy/Communicator.cpp
@@ -21,6 +21,7 @@
#include <PropertiesAdmin.h>
#include <Proxy.h>
#include <Thread.h>
+#include <Types.h>
#include <Util.h>
#include <Ice/Initialize.h>
#include <Ice/CommunicatorAsync.h>
@@ -204,6 +205,8 @@ communicatorInit(CommunicatorObject* self, PyObject* args, PyObject* /*kwds*/)
}
argv[argc] = 0;
+ data.compactIdResolver = new IdResolver;
+
Ice::CommunicatorPtr communicator;
try
{