discover system state: use PDI constants
Use PDI constants where applicable.
Tested: Inspection only.
Change-Id: If3c120ea1a9f168d19fae356d269e04fe943dd0f
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/settings.hpp b/settings.hpp
index a4ec5cc..5f721b8 100644
--- a/settings.hpp
+++ b/settings.hpp
@@ -16,8 +16,9 @@
constexpr auto defaultRoot = "/";
constexpr auto autoRebootIntf = sdbusplus::client::xyz::openbmc_project::
control::boot::RebootPolicy<>::interface;
-constexpr auto powerRestoreIntf = sdbusplus::client::xyz::openbmc_project::
- control::power::RestorePolicy<>::interface;
+using PowerRestorePolicy =
+ sdbusplus::common::xyz::openbmc_project::control::power::RestorePolicy;
+constexpr auto powerRestoreIntf = PowerRestorePolicy::interface;
/** @class Objects
* @brief Fetch paths of settings d-bus objects of interest, upon construction