Remove warnings

This commit is contained in:
Alexander Bock
2021-05-25 22:06:49 +02:00
parent d2f9530885
commit cb17bd7570
22 changed files with 81 additions and 58 deletions

View File

@@ -43,9 +43,10 @@ void VersionChecker::requestLatestVersion(const std::string& url) {
HttpRequest::RequestOptions opt;
opt.requestTimeoutSeconds = 0;
const std::string fullUrl = url +
"?client_version=" + OPENSPACE_VERSION_NUMBER +
"&commit_hash=" + OPENSPACE_GIT_COMMIT;
std::string fullUrl = fmt::format(
"{}?client_version={}&commit_hash={}",
url, OPENSPACE_VERSION_NUMBER, OPENSPACE_GIT_COMMIT
);
if (_request) {
_request->cancel();