aboutsummaryrefslogtreecommitdiff
path: root/zenhttp/httpasio.cpp
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2022-01-07 16:05:37 +0100
committerMartin Ridgers <[email protected]>2022-01-07 16:06:33 +0100
commit871a674a30e0cfdf35a4b754c3c7b8be453f0ff2 (patch)
tree5281dce255dca508d15e26ed451704d0918aad14 /zenhttp/httpasio.cpp
parentAdded missing vector include (diff)
downloadzen-871a674a30e0cfdf35a4b754c3c7b8be453f0ff2.tar.xz
zen-871a674a30e0cfdf35a4b754c3c7b8be453f0ff2.zip
LLVM's libc++ cannot emplace_back(x,y,z) without a ctor(x,y,z)
Diffstat (limited to 'zenhttp/httpasio.cpp')
-rw-r--r--zenhttp/httpasio.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/zenhttp/httpasio.cpp b/zenhttp/httpasio.cpp
index 4d98ac15e..6c2d65bb6 100644
--- a/zenhttp/httpasio.cpp
+++ b/zenhttp/httpasio.cpp
@@ -154,6 +154,14 @@ struct HttpRequest
private:
struct HeaderEntry
{
+ HeaderEntry() = default;
+
+ HeaderEntry(std::string_view InName, std::string_view InValue)
+ : Name(InName)
+ , Value(InValue)
+ {
+ }
+
std::string_view Name;
std::string_view Value;
};