diff --git a/src/frontend/qt_sdl/EmuInstance.cpp b/src/frontend/qt_sdl/EmuInstance.cpp index 309abe66..67791376 100644 --- a/src/frontend/qt_sdl/EmuInstance.cpp +++ b/src/frontend/qt_sdl/EmuInstance.cpp @@ -1292,7 +1292,7 @@ bool EmuInstance::updateConsole() noexcept }; auto gdbargs = gdbopt.GetBool("Enabled") ? std::make_optional(_gdbargs) : std::nullopt; #else - optional gdbargs = std::nullopt; + std::optional gdbargs = std::nullopt; #endif NDSArgs ndsargs {