diff options
| author | Ed Tanous <ed.tanous@intel.com> | 2018-04-20 16:01:36 -0700 |
|---|---|---|
| committer | Ed Tanous <ed.tanous@intel.com> | 2018-06-29 11:16:03 -0700 |
| commit | daf36e2e50a6a9c72c94d97e5754a8aa19c9d95b (patch) | |
| tree | 05c389e416bb959431d70d3d6ed06f282bbc16cb /include | |
| parent | aa2e59c10280ca4819926905e77a076bdb72a03f (diff) | |
| download | bmcweb-daf36e2e50a6a9c72c94d97e5754a8aa19c9d95b.tar.gz bmcweb-daf36e2e50a6a9c72c94d97e5754a8aa19c9d95b.zip | |
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>
Diffstat (limited to 'include')
| -rw-r--r-- | include/redfish_v1.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ void request_routes(Crow<Middlewares...>& app) { 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 @@ void request_routes(Crow<Middlewares...>& app) { } 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; |

