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/journal.hpp b/src/journal.hpp
index 29d01d1..ad792fb 100644
--- a/src/journal.hpp
+++ b/src/journal.hpp
@@ -41,7 +41,7 @@
/** @brief Delegate type specific calls to subclasses. */
virtual void log(const char* message, const std::string& pathMeta,
const std::string& path, const std::string& propertyMeta,
- const any_ns::any& value) const = 0;
+ const std::any& value) const = 0;
/** @brief The client provided message to be traced. */
const char* message;
@@ -96,7 +96,7 @@
/** @brief log interface implementation. */
void log(const char* message, const std::string& pathMeta,
const std::string& path, const std::string& propertyMeta,
- const any_ns::any& value) const override
+ const std::any& value) const override
{
phosphor::logging::log<Severity>(
message,
@@ -105,7 +105,7 @@
path.c_str()),
phosphor::logging::entry(
(propertyMeta + GetFormat<T>::format).c_str(),
- detail::Display<T>::op(any_ns::any_cast<T>(value))));
+ detail::Display<T>::op(std::any_cast<T>(value))));
}
};