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/propertywatchimpl.hpp b/src/propertywatchimpl.hpp
index 271d9b2..0187bd1 100644
--- a/src/propertywatchimpl.hpp
+++ b/src/propertywatchimpl.hpp
@@ -167,13 +167,13 @@
auto value = std::get<T>(p.second);
if (filterOps)
{
- any_ns::any anyValue = value;
+ std::any anyValue = value;
if ((*filterOps)(anyValue))
{
// Property value filtered, clear it from storage so
// callback functions do not use it
isFiltered = true;
- std::get<valueIndex>(storage.get()).clear();
+ std::get<valueIndex>(storage.get()).reset();
}
}
if (!isFiltered)