diff options
author | Ed Tanous <edtanous@google.com> | 2021-09-03 00:34:57 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2021-09-07 20:22:58 +0300 |
commit | abb93cdd0a49be03bf2fe95f07823686b289ecd5 (patch) | |
tree | ae38aed0291ac5a06b69e2922338b58b03be6379 /redfish-core/include/event_service_manager.hpp | |
parent | 7bbcae5939c7f04aa8211af7baca24e0d00e3864 (diff) | |
download | bmcweb-abb93cdd0a49be03bf2fe95f07823686b289ecd5.tar.xz |
Make code pass clang-tidy-13
clang-tidy-13 appears to have improved its "use brace initialization"
checker to handle more cases, and now correctly fails a couple cases
that we posses. This commit simply makes the very mechanical changes to
make this function.
Tested:
Ran previous commits checks to run ninja clang-tidy, and observed that
clang-tidy now passes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I665a7f3e71d25af93703e6b31af0f1eb12a44527
Diffstat (limited to 'redfish-core/include/event_service_manager.hpp')
-rw-r--r-- | redfish-core/include/event_service_manager.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp index d89b789ac1..3f398d78b1 100644 --- a/redfish-core/include/event_service_manager.hpp +++ b/redfish-core/include/event_service_manager.hpp @@ -905,7 +905,7 @@ class EventServiceManager if (retry <= 0) { BMCWEB_LOG_ERROR << "Failed to generate random number"; - return std::string(""); + return ""; } std::shared_ptr<persistent_data::UserSubscription> newSub = |