From dc2e2b3e293a8374a2627982b521cc6865129c49 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Mon, 9 Jan 2023 13:15:18 +0100 Subject: Separated out websocket --- plugin.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'plugin.cpp') diff --git a/plugin.cpp b/plugin.cpp index afcbdb3..68861a8 100644 --- a/plugin.cpp +++ b/plugin.cpp @@ -2,11 +2,6 @@ #include -// Support both boost in Debian unstable (BOOST_LATEST) and in stable (boost 1.67) -#if BOOST_VERSION >= 107100 -#define BOOST_LATEST -#endif - #include #include @@ -29,11 +24,7 @@ void PluginLoader::load_plugins() for (auto& path: fs::recursive_directory_iterator(dir)) { if (path.is_regular_file() && path.path().extension() == ".so"s) { -#ifdef BOOST_LATEST dll::fs::path lib_path{path.path()}; -#else - boost::filesystem::path lib_path{path.path().generic_string()}; -#endif try { boost::shared_ptr plugin = dll::import(lib_path, "webserver_plugin", dll::load_mode::append_decorations); -- cgit v1.2.3