diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-20 14:21:44 +0200 |
---|---|---|
committer | Sefa Eyeoglu <contact@scrumplex.net> | 2022-07-20 14:22:10 +0200 |
commit | c666c3e2513c47552e91142925b2edabf1fd04ee (patch) | |
tree | df145c01e1c138a18292c9c5b08634636d6c524c /launcher/minecraft/World.cpp | |
parent | e78c7af7158846decae06959d6b4ffe327438ee9 (diff) | |
download | PrismLauncher-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/minecraft/World.cpp')
-rw-r--r-- | launcher/minecraft/World.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/launcher/minecraft/World.cpp b/launcher/minecraft/World.cpp index dfcb43d8..90fcf337 100644 --- a/launcher/minecraft/World.cpp +++ b/launcher/minecraft/World.cpp @@ -53,12 +53,12 @@ #include <QCoreApplication> -#include <nonstd/optional> +#include <optional> -using nonstd::optional; -using nonstd::nullopt; +using std::optional; +using std::nullopt; -GameType::GameType(nonstd::optional<int> original): +GameType::GameType(std::optional<int> original): original(original) { if(!original) { |