summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-04-07 02:03:49 +0300
committerEd Tanous <ed@tanous.net>2024-04-11 19:38:16 +0300
commit4a7fbefdff330f06d5698a1e60ce893225cd389e (patch)
tree036f2c7795de1d48d06834d6b0ccbe1d0d5c9e79 /include
parentd9e89dfd49538c54d280dce3750f4af264cfd5fc (diff)
downloadbmcweb-4a7fbefdff330f06d5698a1e60ce893225cd389e.tar.xz
Fix large copies with url_view and segments_view
Despite these objects being called "view" they are still relatively large, as clang-tidy correctly flags, and we ignore. Change all function uses to capture by: const boost::urls::url_view_base& Which is the base class of all boost URL types, and any class (url, url_view, etc) is convertible to that base. Change-Id: I8ee2ea3f4cfba38331303a7e4eb520a2b6f8ba92 Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'include')
-rw-r--r--include/event_service_store.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/event_service_store.hpp b/include/event_service_store.hpp
index 522227b61c..f03bd7908f 100644
--- a/include/event_service_store.hpp
+++ b/include/event_service_store.hpp
@@ -4,6 +4,7 @@
#include <boost/beast/http/fields.hpp>
#include <boost/container/flat_map.hpp>
#include <boost/url/parse.hpp>
+#include <boost/url/url.hpp>
#include <nlohmann/json.hpp>
namespace persistent_data