diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2006-05-03 12:04:56 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2006-05-03 12:04:56 +0000 |
commit | cb72bcef4f05af2fe3d729871fc788a6ea41a4d7 (patch) | |
tree | 6e26fe9e40589ca413074df9954c37031be8b258 /cpp/src/Ice/Instance.cpp | |
parent | More string converter optimizations (diff) | |
download | ice-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.cpp | 5 |
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(...) |