diff options
-rw-r--r-- | icespider/common/pathparts.h | 2 | ||||
-rw-r--r-- | icespider/core/ihttpRequest.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/icespider/common/pathparts.h b/icespider/common/pathparts.h index c24360c..0053562 100644 --- a/icespider/common/pathparts.h +++ b/icespider/common/pathparts.h @@ -8,7 +8,7 @@ #include <visibility.h> namespace IceSpider { - using PathElements = std::vector<std::string>; + using PathElements = std::vector<std::string_view>; class DLL_PUBLIC PathPart { public: diff --git a/icespider/core/ihttpRequest.h b/icespider/core/ihttpRequest.h index 25b5e00..451fe67 100644 --- a/icespider/core/ihttpRequest.h +++ b/icespider/core/ihttpRequest.h @@ -29,7 +29,7 @@ namespace IceSpider { }; using Accepted = std::vector<Accept>; - using PathElements = std::vector<std::string>; + using PathElements = std::vector<std::string_view>; using OptionalString = std::optional<std::string_view>; using ContentTypeSerializer = std::pair<MimeType, Slicer::SerializerPtr>; |