diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-25 21:19:23 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-02-09 23:45:00 +0300 |
commit | 9eb808c1a84a76e92b0e01fa95d3f160f38d7c3f (patch) | |
tree | f3631a3f2a97fb0f048fb1dd5d295b867e8d37fc /redfish-core/include/error_messages.hpp | |
parent | b3db89663256a462e9c90bf260d5058014765137 (diff) | |
download | bmcweb-9eb808c1a84a76e92b0e01fa95d3f160f38d7c3f.tar.xz |
Enable readability-avoid-const-params-in-decls
This check involves explicitly declaring variables const when they're
declared auto, which helps in readability, and makes it more clear that
the variables are const.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I71198ea03850384a389a56ad26f2c4a48c75b148
Diffstat (limited to 'redfish-core/include/error_messages.hpp')
-rw-r--r-- | redfish-core/include/error_messages.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/include/error_messages.hpp b/redfish-core/include/error_messages.hpp index 8aa6ba6474..dcca3aa93e 100644 --- a/redfish-core/include/error_messages.hpp +++ b/redfish-core/include/error_messages.hpp @@ -91,7 +91,7 @@ void actionParameterValueFormatError(crow::Response& res, * @returns Message InternalError formatted to JSON */ nlohmann::json internalError(); -void internalError(crow::Response& res, const bmcweb::source_location location = +void internalError(crow::Response& res, bmcweb::source_location location = bmcweb::source_location::current()); /** |