From dcd21fe5ddbe94af273f05db03e99257f0774805 Mon Sep 17 00:00:00 2001 From: gengjiawen Date: Mon, 4 Mar 2019 23:14:49 +0800 Subject: [PATCH] src: remove unused function in cares_wrap.cc --- src/cares_wrap.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/cares_wrap.cc b/src/cares_wrap.cc index 5c816c58869714..4a888521fa6df3 100644 --- a/src/cares_wrap.cc +++ b/src/cares_wrap.cc @@ -162,9 +162,7 @@ class ChannelWrap : public AsyncWrap { inline uv_timer_t* timer_handle() { return timer_handle_; } inline ares_channel cares_channel() { return channel_; } - inline bool query_last_ok() const { return query_last_ok_; } inline void set_query_last_ok(bool ok) { query_last_ok_ = ok; } - inline bool is_servers_default() const { return is_servers_default_; } inline void set_is_servers_default(bool is_default) { is_servers_default_ = is_default; }