diff options
author | Ed Tanous <edtanous@google.com> | 2023-07-18 20:07:23 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-01-19 22:43:50 +0300 |
commit | 18f8f608b966c802b3e2a389e3c1ec5a1fd9407b (patch) | |
tree | 89684cb74b7492ffc1e34fb8e3a004de18726071 /redfish-core/lib/health.hpp | |
parent | f86bcc875a496b3c321a4ed102579a4031617800 (diff) | |
download | bmcweb-18f8f608b966c802b3e2a389e3c1ec5a1fd9407b.tar.xz |
Remove some boost includes
The less we rely on boost, and more on std algorithms, the less people
have to look up, and the more likely that our code will deduplicate.
Replace all uses of boost::algorithms with std alternatives.
Tested: Redfish Service Validator passes.
Change-Id: I8a26f39b5709adc444b4178e92f5f3c7b988b05b
Signed-off-by: Ed Tanous <edtanous@google.com>
Diffstat (limited to 'redfish-core/lib/health.hpp')
-rw-r--r-- | redfish-core/lib/health.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/health.hpp b/redfish-core/lib/health.hpp index 6e0d3349bd..20ea0f6236 100644 --- a/redfish-core/lib/health.hpp +++ b/redfish-core/lib/health.hpp @@ -73,7 +73,7 @@ struct HealthPopulate : std::enable_shared_from_this<HealthPopulate> bool isSelf = false; if (selfPath) { - if (boost::equals(path.str, *selfPath) || + if (path.str == *selfPath || path.str.starts_with(*selfPath + "/")) { isSelf = true; |