From 742829876449a4a656669492d662b1f724b36613 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Fri, 6 Apr 2018 11:30:10 +0100 Subject: C++17 Remove straggling references to boost namespace which should be std. --- libadhocutil/plugins.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libadhocutil/plugins.cpp b/libadhocutil/plugins.cpp index 433b317..4ac5992 100644 --- a/libadhocutil/plugins.cpp +++ b/libadhocutil/plugins.cpp @@ -91,14 +91,14 @@ namespace AdHoc { void PluginManager::remove(const std::string & n, const std::type_info & t) { - auto r = plugins->get<2>().equal_range(boost::make_tuple(n, std::cref(t))); + auto r = plugins->get<2>().equal_range(std::make_tuple(n, std::cref(t))); plugins->get<2>().erase(r.first, r.second); } PluginPtr PluginManager::get(const std::string & n, const std::type_info & t) const { - auto r = plugins->get<2>().equal_range(boost::make_tuple(n, std::cref(t))); + auto r = plugins->get<2>().equal_range(std::make_tuple(n, std::cref(t))); if (r.first == r.second) { auto tr = resolvers->find(t.hash_code()); if (tr != resolvers->end()) { @@ -106,7 +106,7 @@ namespace AdHoc { loadLibrary(*lib); } } - r = plugins->get<2>().equal_range(boost::make_tuple(n, std::cref(t))); + r = plugins->get<2>().equal_range(std::make_tuple(n, std::cref(t))); } if (r.first != r.second) { return (*r.first); -- cgit v1.2.3