diff options
Diffstat (limited to 'redfish-core/include/event_service_manager.hpp')
-rw-r--r-- | redfish-core/include/event_service_manager.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/redfish-core/include/event_service_manager.hpp b/redfish-core/include/event_service_manager.hpp index 679c4f6918..9872bf8410 100644 --- a/redfish-core/include/event_service_manager.hpp +++ b/redfish-core/include/event_service_manager.hpp @@ -32,6 +32,7 @@ #include <boost/asio/io_context.hpp> #include <boost/container/flat_map.hpp> #include <boost/url/format.hpp> +#include <boost/url/url_view_base.hpp> #include <sdbusplus/bus/match.hpp> #include <algorithm> @@ -355,7 +356,8 @@ class Subscription : public persistent_data::UserSubscription Subscription(Subscription&&) = delete; Subscription& operator=(Subscription&&) = delete; - Subscription(boost::urls::url_view url, boost::asio::io_context& ioc) : + Subscription(const boost::urls::url_view_base& url, + boost::asio::io_context& ioc) : policy(std::make_shared<crow::ConnectionPolicy>()) { destinationUrl = url; |