summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/ACM.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/ACM.cpp')
-rw-r--r--cpp/src/Ice/ACM.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/ACM.cpp b/cpp/src/Ice/ACM.cpp
index 4048d17ab82..2b106c0d5ae 100644
--- a/cpp/src/Ice/ACM.cpp
+++ b/cpp/src/Ice/ACM.cpp
@@ -307,7 +307,7 @@ IceInternal::ConnectionACMMonitor::~ConnectionACMMonitor()
}
void
-IceInternal::ConnectionACMMonitor::add(ICE_MAYBE_UNUSED const ConnectionIPtr& connection)
+IceInternal::ConnectionACMMonitor::add(const ConnectionIPtr& connection)
{
Lock sync(*this);
assert(!_connection && connection);
@@ -321,6 +321,9 @@ IceInternal::ConnectionACMMonitor::add(ICE_MAYBE_UNUSED const ConnectionIPtr& co
void
IceInternal::ConnectionACMMonitor::remove(ICE_MAYBE_UNUSED const ConnectionIPtr& connection)
{
+#ifdef _MSC_VER
+ UNREFERENCED_PARAMETER(connection);
+#endif
Lock sync(*this);
assert(_connection == connection);
if(_config.timeout != IceUtil::Time())