From b5e4c64389054326d5b2f4b40cccdcf24885c8ed Mon Sep 17 00:00:00 2001 From: mordred Date: Thu, 25 Oct 2018 15:25:49 +0200 Subject: [PATCH] boost::string_ref -> std::string_view --- src/servers/sapphire_api/client_http.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/servers/sapphire_api/client_http.hpp b/src/servers/sapphire_api/client_http.hpp index 74ea5f86..a03662fe 100644 --- a/src/servers/sapphire_api/client_http.hpp +++ b/src/servers/sapphire_api/client_http.hpp @@ -2,7 +2,6 @@ #define CLIENT_HTTP_HPP #include -#include #include #include @@ -52,7 +51,7 @@ namespace SimpleWeb { /// Set before calling request Config config; - std::shared_ptr request(const std::string& request_type, const std::string& path="/", boost::string_ref content="", + std::shared_ptr request(const std::string& request_type, const std::string& path="/", std::string_view content="", const std::map& header=std::map()) { auto corrected_path=path; if(corrected_path=="")