summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/pdu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/snmp/pdu.cpp')
-rw-r--r--ksim/monitors/snmp/pdu.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/ksim/monitors/snmp/pdu.cpp b/ksim/monitors/snmp/pdu.cpp
index 1619086..9ad1110 100644
--- a/ksim/monitors/snmp/pdu.cpp
+++ b/ksim/monitors/snmp/pdu.cpp
@@ -48,7 +48,7 @@ PDU::~PDU()
void PDU::addNullVariables( const IdentifierList &oids )
{
std::for_each( oids.begin(), oids.end(),
- std::bind1st( std::mem_fun( &PDU::addNullVariable ), this ) );
+ std::bind( std::mem_fn( &PDU::addNullVariable ), this, std::placeholders::_1 ) );
}
void PDU::addNullVariable( Identifier oid )
@@ -93,6 +93,3 @@ ValueMap PDU::variables() const
return result;
}
-
-/* vim: et sw=4 ts=4
- */