summaryrefslogtreecommitdiffstats
path: root/ksim/monitors/snmp/walker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ksim/monitors/snmp/walker.cpp')
-rw-r--r--ksim/monitors/snmp/walker.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ksim/monitors/snmp/walker.cpp b/ksim/monitors/snmp/walker.cpp
index 81a36f4..c74097b 100644
--- a/ksim/monitors/snmp/walker.cpp
+++ b/ksim/monitors/snmp/walker.cpp
@@ -29,7 +29,7 @@ using namespace KSim::Snmp;
namespace
{
template <class T>
- struct Deleter : public std::unary_function<T, void>
+ struct Deleter : public std::function<void(T)>
{
void operator()( T arg )
{ delete arg; }