diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 11:30:10 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-04-06 16:40:43 +0100 |
commit | 742829876449a4a656669492d662b1f724b36613 (patch) | |
tree | cca999a4bf3a5744e1e7722282d9e897810bcd32 | |
parent | C++17 (diff) | |
download | libadhocutil-742829876449a4a656669492d662b1f724b36613.tar.bz2 libadhocutil-742829876449a4a656669492d662b1f724b36613.tar.xz libadhocutil-742829876449a4a656669492d662b1f724b36613.zip |
C++17
Remove straggling references to boost namespace which should be std.
-rw-r--r-- | libadhocutil/plugins.cpp | 6 |
1 files 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); |