aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/legacy_ftb
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/legacy_ftb
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/legacy_ftb')
-rw-r--r--launcher/modplatform/legacy_ftb/PackInstallTask.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/launcher/modplatform/legacy_ftb/PackInstallTask.h b/launcher/modplatform/legacy_ftb/PackInstallTask.h
index a7395220..da4c0da5 100644
--- a/launcher/modplatform/legacy_ftb/PackInstallTask.h
+++ b/launcher/modplatform/legacy_ftb/PackInstallTask.h
@@ -10,7 +10,7 @@
#include "net/NetJob.h"
-#include <nonstd/optional>
+#include <optional>
namespace LegacyFTB {
@@ -46,8 +46,8 @@ private: /* data */
shared_qobject_ptr<QNetworkAccessManager> m_network;
bool abortable = false;
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;
NetJob::Ptr netJobContainer;
QString archivePath;