Commit 911258bc authored by louiz’'s avatar louiz’

Make AddrinfoDeleter a class

parent 0d8a2bfd
......@@ -11,8 +11,9 @@
#include <sys/socket.h>
#include <netdb.h>
struct AddrinfoDeleter
class AddrinfoDeleter
{
public:
void operator()(struct addrinfo* addr)
{
#ifdef CARES_FOUND
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment