From: Adam Dickmeiss Date: Wed, 12 Jun 2013 09:39:29 +0000 (+0200) Subject: Remove FactoryFilter:have_dl_support X-Git-Tag: v1.3.57~5 X-Git-Url: http://lists.indexdata.com/cgi-bin?a=commitdiff_plain;h=42509e27416325060d28e320ccb92c187859c852;p=metaproxy-moved-to-github.git Remove FactoryFilter:have_dl_support --- diff --git a/src/factory_filter.cpp b/src/factory_filter.cpp index 7ea6d3a..3915202 100644 --- a/src/factory_filter.cpp +++ b/src/factory_filter.cpp @@ -101,15 +101,6 @@ mp::filter::Base* mp::FactoryFilter::create(std::string fi) return (it->second()); } -bool mp::FactoryFilter::have_dl_support() -{ -#if HAVE_DLFCN_H - return true; -#else - return false; -#endif -} - bool mp::FactoryFilter::add_creator_dl(const std::string &fi, const std::string &path) { diff --git a/src/factory_filter.hpp b/src/factory_filter.hpp index 0b54e14..5498d75 100644 --- a/src/factory_filter.hpp +++ b/src/factory_filter.hpp @@ -50,8 +50,6 @@ namespace metaproxy_1 { bool add_creator_dl(const std::string &fi, const std::string &path); - bool have_dl_support(); - class NotFound : public std::runtime_error { public: NotFound(const std::string msg);