summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ReferenceFactory.cpp
diff options
context:
space:
mode:
authorBernard Normier <bernard@zeroc.com>2014-05-16 12:30:43 -0400
committerBernard Normier <bernard@zeroc.com>2014-05-16 12:30:43 -0400
commit3f3450439b7558443a58279980aadaf069f5a086 (patch)
treee3d5a066653b410e668b0f71f5cfde42e07177c4 /cpp/src/Ice/ReferenceFactory.cpp
parentFixed build (diff)
downloadice-3f3450439b7558443a58279980aadaf069f5a086.tar.bz2
ice-3f3450439b7558443a58279980aadaf069f5a086.tar.xz
ice-3f3450439b7558443a58279980aadaf069f5a086.zip
Updated nativeToUTF8 and UTF8ToNative for consistency with stringToWstring/wstringToString
Diffstat (limited to 'cpp/src/Ice/ReferenceFactory.cpp')
-rw-r--r--cpp/src/Ice/ReferenceFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/ReferenceFactory.cpp b/cpp/src/Ice/ReferenceFactory.cpp
index a96fd7630cd..37c061a4296 100644
--- a/cpp/src/Ice/ReferenceFactory.cpp
+++ b/cpp/src/Ice/ReferenceFactory.cpp
@@ -288,7 +288,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
throw ex;
}
- facet = UTF8ToNative(_instance->getStringConverter(), facet);
+ facet = UTF8ToNative(facet, _instance->getStringConverter());
break;
}
@@ -569,7 +569,7 @@ IceInternal::ReferenceFactory::create(const string& str, const string& propertyP
throw ex;
}
- adapter = UTF8ToNative(_instance->getStringConverter(), adapter);
+ adapter = UTF8ToNative(adapter, _instance->getStringConverter());
return create(ident, facet, mode, secure, protocol, encoding, endpoints, adapter, propertyPrefix);
break;