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>
diff --git a/include/event_service_store.hpp b/include/event_service_store.hpp
index 522227b..f03bd79 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