From 864d287d9480b5b0f647c660004f5e808977b62c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnter=20Obiltschnig?= Date: Sat, 17 Feb 2018 18:27:02 +0100 Subject: [PATCH] remove long deprecated flushCache() method --- Net/include/Poco/Net/DNS.h | 7 ------- Net/src/DNS.cpp | 5 ----- 2 files changed, 12 deletions(-) diff --git a/Net/include/Poco/Net/DNS.h b/Net/include/Poco/Net/DNS.h index b3952ee7e..2de47b3e2 100644 --- a/Net/include/Poco/Net/DNS.h +++ b/Net/include/Poco/Net/DNS.h @@ -144,13 +144,6 @@ public: /// has been compiled with -DPOCO_HAVE_LIBRESOLV. Otherwise /// it will do nothing. - //@ deprecated - static void flushCache(); - /// Flushes the internal DNS cache. - /// - /// As of 1.4.2, the DNS cache is no longer used - /// and this method does not do anything. - static std::string hostName(); /// Returns the host name of this host. diff --git a/Net/src/DNS.cpp b/Net/src/DNS.cpp index 2f22d07c0..205f82e0b 100644 --- a/Net/src/DNS.cpp +++ b/Net/src/DNS.cpp @@ -204,11 +204,6 @@ void DNS::reload() } -void DNS::flushCache() -{ -} - - std::string DNS::hostName() { char buffer[256];