summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stringConverter/Server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/stringConverter/Server.cpp')
-rw-r--r--cpp/test/Ice/stringConverter/Server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/test/Ice/stringConverter/Server.cpp b/cpp/test/Ice/stringConverter/Server.cpp
index 0607a4f2d17..3c5ff9f007b 100644
--- a/cpp/test/Ice/stringConverter/Server.cpp
+++ b/cpp/test/Ice/stringConverter/Server.cpp
@@ -22,7 +22,7 @@ class MyObjectI : public Test::MyObject
{
public:
- virtual wstring widen(const string& msg, const Ice::Current&)
+ virtual wstring widen(ICE_IN(string) msg, const Ice::Current&)
{
const Ice::Byte* cmsg = reinterpret_cast<const Ice::Byte*>(msg.c_str());
@@ -35,7 +35,7 @@ public:
IceUtil::getProcessWstringConverter());
}
- virtual string narrow(const wstring& wmsg, const Ice::Current&)
+ virtual string narrow(ICE_IN(wstring) wmsg, const Ice::Current&)
{
return IceUtil::wstringToString(wmsg, IceUtil::getProcessStringConverter(),
IceUtil::getProcessWstringConverter());