mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-19 13:03:11 +01:00
Using std::move(), correct clear strings, better use '= default;', modernize make_* and replace heavy strlen
This commit is contained in:
committed by
Hielke Morsink
parent
0045aed7f9
commit
958bfbc08a
@@ -90,7 +90,7 @@ namespace Http
|
||||
{
|
||||
auto key = String::ToUtf8(wKey);
|
||||
auto value = String::ToUtf8(wValue);
|
||||
headers[key] = value;
|
||||
headers[key] = std::move(value);
|
||||
}
|
||||
wKey.clear();
|
||||
wValue.clear();
|
||||
|
||||
Reference in New Issue
Block a user