summaryrefslogtreecommitdiff
path: root/rb/src/IceRuby/Communicator.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2012-12-26 15:16:24 -0800
committerMark Spruiell <mes@zeroc.com>2012-12-26 15:16:24 -0800
commit899c375da6787c33073997eb3722342a0cc971f3 (patch)
tree9f369f06baa9634c88f6c646e9f399ab44d49657 /rb/src/IceRuby/Communicator.cpp
parentOS X installer updates (diff)
downloadice-899c375da6787c33073997eb3722342a0cc971f3.tar.bz2
ice-899c375da6787c33073997eb3722342a0cc971f3.tar.xz
ice-899c375da6787c33073997eb3722342a0cc971f3.zip
compact ID support for scripting languages
Diffstat (limited to 'rb/src/IceRuby/Communicator.cpp')
-rw-r--r--rb/src/IceRuby/Communicator.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/rb/src/IceRuby/Communicator.cpp b/rb/src/IceRuby/Communicator.cpp
index 06703d21f9d..674e1157120 100644
--- a/rb/src/IceRuby/Communicator.cpp
+++ b/rb/src/IceRuby/Communicator.cpp
@@ -13,6 +13,7 @@
#include <ObjectFactory.h>
#include <Properties.h>
#include <Proxy.h>
+#include <Types.h>
#include <Util.h>
#include <Ice/Communicator.h>
#include <Ice/Initialize.h>
@@ -126,6 +127,8 @@ IceRuby_initialize(int argc, VALUE* argv, VALUE self)
volatile VALUE progName = callRuby(rb_gv_get, "$0");
seq.insert(seq.begin(), getString(progName));
+ data.compactIdResolver = new IdResolver;
+
if(hasArgs)
{
data.properties = Ice::createProperties(seq, data.properties);