aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/technic
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2022-07-20 14:21:44 +0200
committerSefa Eyeoglu <contact@scrumplex.net>2022-07-20 14:22:10 +0200
commitc666c3e2513c47552e91142925b2edabf1fd04ee (patch)
treedf145c01e1c138a18292c9c5b08634636d6c524c /launcher/modplatform/technic
parente78c7af7158846decae06959d6b4ffe327438ee9 (diff)
downloadPrismLauncher-c666c3e2513c47552e91142925b2edabf1fd04ee.tar.gz
PrismLauncher-c666c3e2513c47552e91142925b2edabf1fd04ee.tar.bz2
PrismLauncher-c666c3e2513c47552e91142925b2edabf1fd04ee.zip
refactor!: bump to C++17 and C17
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
Diffstat (limited to 'launcher/modplatform/technic')
-rw-r--r--launcher/modplatform/technic/SingleZipPackInstallTask.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/modplatform/technic/SingleZipPackInstallTask.h b/launcher/modplatform/technic/SingleZipPackInstallTask.h
index 4d1fcbff..981ccf8a 100644
--- a/launcher/modplatform/technic/SingleZipPackInstallTask.h
+++ b/launcher/modplatform/technic/SingleZipPackInstallTask.h
@@ -24,7 +24,7 @@
#include <QStringList>
#include <QUrl>
-#include <nonstd/optional>
+#include <optional>
namespace Technic {
@@ -57,8 +57,8 @@ private:
QString m_archivePath;
NetJob::Ptr m_filesNetJob;
std::unique_ptr<QuaZip> m_packZip;
- QFuture<nonstd::optional<QStringList>> m_extractFuture;
- QFutureWatcher<nonstd::optional<QStringList>> m_extractFutureWatcher;
+ QFuture<std::optional<QStringList>> m_extractFuture;
+ QFutureWatcher<std::optional<QStringList>> m_extractFutureWatcher;
};
} // namespace Technic