Fix the build
I don't feel like breaking these out at the moment or writing a commit
message. This fixes the build for clang-tidy. If anyone wants to break
these out with appropriate commit messages, feel free.
Change-Id: Id0b65d238dfb9b8036c0ffddf2f32d221e5988c2
Signed-off-by: Ed Tanous <etanous@nvidia.com>
diff --git a/include/authentication.hpp b/include/authentication.hpp
index 3d026f3..c71b5ec 100644
--- a/include/authentication.hpp
+++ b/include/authentication.hpp
@@ -231,8 +231,7 @@
{
return true;
}
- if (crow::webroutes::routes.find(std::string(url)) !=
- crow::webroutes::routes.end())
+ if (crow::webroutes::routes.contains(std::string(url)))
{
return true;
}