Use <boost/system.hpp> instead of <boost/system/system_error.hpp>
for newer Boost versions.
#include <iostream>
#include <boost/asio/ip/tcp_raw_protocol.hpp>
-#include <boost/system/system_error.hpp>
+#include <boost/system.hpp>
#include <logfunc.hpp>
return PingerItem(); //lint !e527
}
}
- catch ( const system_error &ex )
+ catch ( const boost::system::system_error &ex )
{
// Raw sockets are locked down by Unix operating systems to prevent
// malware and security holes, thus it requires root access to use it.
return PingerItem(); //lint !e527
}
-