diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-25 22:26:16 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-03-12 04:35:05 +0300 |
commit | 55f79e6fe156505cdaddd521212a29b2a977193a (patch) | |
tree | 968c1c72b622c20defd635f406850af51eb2bfae /include/login_routes.hpp | |
parent | 1b829889db64dd738660e62de633f1c028b3444c (diff) | |
download | bmcweb-55f79e6fe156505cdaddd521212a29b2a977193a.tar.xz |
Enable readability checks
clang-tidy readability checks are overall a good thing, and help us to
write consistent and readable code, even if it doesn't change the
result.
All changes done by the robot.
Tested: Code compiles, inspection only (changes made by robot)
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: Iee4a0c74a11eef9f158f0044eae675ebc518b549
Diffstat (limited to 'include/login_routes.hpp')
-rw-r--r-- | include/login_routes.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/login_routes.hpp b/include/login_routes.hpp index 1087b0b8de..abcdaee3dc 100644 --- a/include/login_routes.hpp +++ b/include/login_routes.hpp @@ -242,7 +242,7 @@ inline void requestRoutes(App& app) .methods(boost::beast::http::verb::post)( [](const crow::Request& req, const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { - auto& session = req.session; + const auto& session = req.session; if (session != nullptr) { asyncResp->res.jsonValue = { |