diff options
Diffstat (limited to 'src/zenhttp/include')
| -rw-r--r-- | src/zenhttp/include/zenhttp/httpclient.h | 2 | ||||
| -rw-r--r-- | src/zenhttp/include/zenhttp/httpserver.h | 4 | ||||
| -rw-r--r-- | src/zenhttp/include/zenhttp/packageformat.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/zenhttp/include/zenhttp/httpclient.h b/src/zenhttp/include/zenhttp/httpclient.h index a46b9fd83..a9c9fe00d 100644 --- a/src/zenhttp/include/zenhttp/httpclient.h +++ b/src/zenhttp/include/zenhttp/httpclient.h @@ -88,7 +88,7 @@ public: : Entries({{{std::string(Entry.first), std::string(Entry.second)}}}) { } - KeyValueMap(std::span<std::pair<std::string_view, std::string_view>>&& List) : Entries(List.begin(), List.end()) {} + KeyValueMap(eastl::span<std::pair<std::string_view, std::string_view>>&& List) : Entries(List.begin(), List.end()) {} KeyValueMap(std::initializer_list<std::pair<std::string_view, std::string_view>>&& List) : Entries(List.begin(), List.end()) {} }; diff --git a/src/zenhttp/include/zenhttp/httpserver.h b/src/zenhttp/include/zenhttp/httpserver.h index 6cff5c69c..4f049ee8b 100644 --- a/src/zenhttp/include/zenhttp/httpserver.h +++ b/src/zenhttp/include/zenhttp/httpserver.h @@ -13,12 +13,12 @@ #include <zencore/uid.h> #include <zenhttp/httpcommon.h> +#include <EASTL/span.h> #include <functional> #include <gsl/gsl-lite.hpp> #include <list> #include <map> #include <regex> -#include <span> #include <unordered_map> namespace zen { @@ -95,7 +95,7 @@ public: Note that this is destructive in the sense that the IoBuffer instances referred to by Blobs will be moved into our response handler array where they are kept alive, in order to reduce ref-counting storms */ - virtual void WriteResponse(HttpResponseCode ResponseCode, HttpContentType ContentType, std::span<IoBuffer> Blobs) = 0; + virtual void WriteResponse(HttpResponseCode ResponseCode, HttpContentType ContentType, eastl::span<IoBuffer> Blobs) = 0; virtual void WriteResponse(HttpResponseCode ResponseCode) = 0; virtual void WriteResponse(HttpResponseCode ResponseCode, HttpContentType ContentType, std::u8string_view ResponseString) = 0; virtual void WriteResponse(HttpResponseCode ResponseCode, HttpContentType ContentType, CompositeBuffer& Payload); diff --git a/src/zenhttp/include/zenhttp/packageformat.h b/src/zenhttp/include/zenhttp/packageformat.h index f5bd53c5b..bd2f5573d 100644 --- a/src/zenhttp/include/zenhttp/packageformat.h +++ b/src/zenhttp/include/zenhttp/packageformat.h @@ -138,7 +138,7 @@ public: void Finalize(); const eastl::vector<CbAttachment>& GetAttachments() { return m_Attachments; } CbObject GetRootObject() { return m_RootObject; } - std::span<IoBuffer> GetPayloadBuffers() { return m_PayloadBuffers; } + eastl::span<IoBuffer> GetPayloadBuffers() { return m_PayloadBuffers; } private: enum class State |