From 42509e27416325060d28e320ccb92c187859c852 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 12 Jun 2013 11:39:29 +0200 Subject: [PATCH] Remove FactoryFilter:have_dl_support --- src/factory_filter.cpp | 9 --------- src/factory_filter.hpp | 2 -- 2 files changed, 11 deletions(-) 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); -- 1.7.10.4