summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/stream/Client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/test/Ice/stream/Client.cpp')
-rw-r--r--cpp/test/Ice/stream/Client.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/cpp/test/Ice/stream/Client.cpp b/cpp/test/Ice/stream/Client.cpp
index 8d5b0d9c217..a0d9ccb3dc4 100644
--- a/cpp/test/Ice/stream/Client.cpp
+++ b/cpp/test/Ice/stream/Client.cpp
@@ -64,7 +64,11 @@ class TestObjectFactory : public Ice::ObjectFactory
public:
virtual Ice::ObjectPtr
+#ifndef NDEBUG
create(const string& type)
+#else
+ create(const string&)
+#endif
{
assert(type == Test::MyClass::ice_staticId());
return new TestObjectReader;
@@ -133,7 +137,7 @@ class MyInterfaceFactory : public Ice::ObjectFactory
public:
virtual Ice::ObjectPtr
- create(const string& type)
+ create(const string&)
{
return new Test::MyInterface;
}
@@ -145,7 +149,7 @@ public:
};
int
-run(int argc, char** argv, const Ice::CommunicatorPtr& communicator)
+run(int, char**, const Ice::CommunicatorPtr& communicator)
{
MyClassFactoryWrapperPtr factoryWrapper = new MyClassFactoryWrapper;
communicator->addObjectFactory(factoryWrapper, Test::MyClass::ice_staticId());