mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-04-20 09:41:19 -05:00
Remove warnings
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user