remove std::experimental usage
All of the std::experimental usages in this repository have a well
supported counterpart in std as of C++17. Switch to use them.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: I4cdf5cd27053ce85c7f70c215ee9456f96f79f42
diff --git a/src/method.hpp b/src/method.hpp
index 8a561b6..92d6396 100644
--- a/src/method.hpp
+++ b/src/method.hpp
@@ -2,9 +2,9 @@
#include "callback.hpp"
-#include <experimental/tuple>
#include <phosphor-logging/log.hpp>
#include <string>
+#include <tuple>
namespace phosphor
{
@@ -109,11 +109,10 @@
/** @brief Callback interface implementation. */
void operator()(Context ctx) override
{
- std::experimental::apply(
- detail::CallDBusMethod<DBusInterface, MethodArgs...>::op,
- std::tuple_cat(std::make_tuple(bus), std::make_tuple(path),
- std::make_tuple(interface), std::make_tuple(method),
- args));
+ std::apply(detail::CallDBusMethod<DBusInterface, MethodArgs...>::op,
+ std::tuple_cat(std::make_tuple(bus), std::make_tuple(path),
+ std::make_tuple(interface),
+ std::make_tuple(method), args));
}
private: