summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Instance.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-05-03 12:04:56 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-05-03 12:04:56 +0000
commitcb72bcef4f05af2fe3d729871fc788a6ea41a4d7 (patch)
tree6e26fe9e40589ca413074df9954c37031be8b258 /cpp/src/Ice/Instance.cpp
parentMore string converter optimizations (diff)
downloadice-cb72bcef4f05af2fe3d729871fc788a6ea41a4d7.tar.bz2
ice-cb72bcef4f05af2fe3d729871fc788a6ea41a4d7.tar.xz
ice-cb72bcef4f05af2fe3d729871fc788a6ea41a4d7.zip
Some refactoring of string converter usage
Diffstat (limited to 'cpp/src/Ice/Instance.cpp')
-rw-r--r--cpp/src/Ice/Instance.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp
index d6f989597dd..b85897541c2 100644
--- a/cpp/src/Ice/Instance.cpp
+++ b/cpp/src/Ice/Instance.cpp
@@ -556,6 +556,11 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi
_objectAdapterFactory = new ObjectAdapterFactory(this, communicator);
+ if(!_initData.wstringConverter)
+ {
+ const_cast<WstringConverterPtr&>(_initData.wstringConverter) = new UnicodeWstringConverter();
+ }
+
__setNoDelete(false);
}
catch(...)