Move thermal interfaces to new schema
With the change to entity manager, move the thermal componets to the
proper inventory manager interfaces
Change-Id: I520e65b1df53ca8d3fbc12253882ae69b708bbbf
Signed-off-by: Ed Tanous <ed.tanous@intel.com>
diff --git a/include/redfish_v1.hpp b/include/redfish_v1.hpp
index 03b9051..49a5a15 100644
--- a/include/redfish_v1.hpp
+++ b/include/redfish_v1.hpp
@@ -79,7 +79,7 @@
int user_index = 0;
for (auto& user : users) {
const std::string& path =
- static_cast<std::string>(user.first);
+ static_cast<const std::string&>(user.first);
std::size_t last_index = path.rfind("/");
if (last_index == std::string::npos) {
last_index = 0;
@@ -111,7 +111,7 @@
} else {
for (auto& user : users) {
const std::string& path =
- static_cast<std::string>(user.first);
+ static_cast<const std::string&>(user.first);
std::size_t last_index = path.rfind("/");
if (last_index == std::string::npos) {
last_index = 0;