diff options
| author | Martin Ridgers <[email protected]> | 2022-01-07 16:05:37 +0100 |
|---|---|---|
| committer | Martin Ridgers <[email protected]> | 2022-01-07 16:06:33 +0100 |
| commit | 871a674a30e0cfdf35a4b754c3c7b8be453f0ff2 (patch) | |
| tree | 5281dce255dca508d15e26ed451704d0918aad14 /zenhttp/httpasio.cpp | |
| parent | Added missing vector include (diff) | |
| download | zen-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.cpp | 8 |
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; }; |