summaryrefslogtreecommitdiffstats
path: root/ext/yahttp/yahttp/reqresp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ext/yahttp/yahttp/reqresp.cpp')
-rw-r--r--ext/yahttp/yahttp/reqresp.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/yahttp/yahttp/reqresp.cpp b/ext/yahttp/yahttp/reqresp.cpp
index e5f9c95..a96def6 100644
--- a/ext/yahttp/yahttp/reqresp.cpp
+++ b/ext/yahttp/yahttp/reqresp.cpp
@@ -136,7 +136,7 @@ namespace YaHTTP {
if (target->headers.find(key) != target->headers.end()) {
target->headers[key] = target->headers[key] + ";" + value;
} else {
- target->headers[key] = value;
+ target->headers[key] = std::move(value);
}
}
}