UI: Fix preventing copy elision of a temporary string object

This commit is contained in:
PatTheMav 2023-04-06 01:19:42 +02:00 committed by Ryan Foster
parent 3d78c23db8
commit 9f0a2547ac

View file

@ -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());
}
/* ----------------------------------- *