diff options
author | Bernard Normier <bernard@zeroc.com> | 2006-07-04 18:05:58 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2006-07-04 18:05:58 +0000 |
commit | 5159d7afbcce26fa359b2f4d6305ee207240650c (patch) | |
tree | a628ffac7f59f39907050a8d8a73ae7d4ebde4c6 /cpp/src | |
parent | create properties if necessary (diff) | |
download | ice-5159d7afbcce26fa359b2f4d6305ee207240650c.tar.bz2 ice-5159d7afbcce26fa359b2f4d6305ee207240650c.tar.xz ice-5159d7afbcce26fa359b2f4d6305ee207240650c.zip |
cosmetic fix
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/Ice/Instance.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Instance.cpp b/cpp/src/Ice/Instance.cpp index b0532465dab..46fb77f0127 100644 --- a/cpp/src/Ice/Instance.cpp +++ b/cpp/src/Ice/Instance.cpp @@ -636,9 +636,9 @@ IceInternal::Instance::Instance(const CommunicatorPtr& communicator, const Initi _objectAdapterFactory = new ObjectAdapterFactory(this, communicator); - if(!_initData.wstringConverter) + if(_initData.wstringConverter == 0) { - const_cast<WstringConverterPtr&>(_initData.wstringConverter) = new UnicodeWstringConverter(); + _initData.wstringConverter = new UnicodeWstringConverter(); } __setNoDelete(false); |