mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-09-20 04:42:18 +02:00
UI: Fix preventing copy elision of a temporary string object
This commit is contained in:
parent
3d78c23db8
commit
9f0a2547ac
@ -232,7 +232,7 @@ bool FetchAndVerifyFile(const char *name, const char *file, const char *url,
|
||||
BLAKE2_HASH_LENGTH);
|
||||
|
||||
QString header = "If-None-Match: " + hash.toHex();
|
||||
headers.push_back(std::move(header.toStdString()));
|
||||
headers.push_back(header.toStdString());
|
||||
}
|
||||
|
||||
/* ----------------------------------- *
|
||||
|
Loading…
Reference in New Issue
Block a user