summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinNoGUI/MainNoGUI.cpp
diff options
context:
space:
mode:
authorDr. Dystopia <jonis9898@hotmail.com>2025-04-20 18:02:28 +0200
committerDr. Dystopia <jonis9898@hotmail.com>2025-06-04 21:48:40 +0200
commitc37933932da31f2cde9844135b7c1adf2e9462eb (patch)
tree96ffb3a6c7a46da551fa745839387e98dd2494d3 /Source/Core/DolphinNoGUI/MainNoGUI.cpp
parent23af1e025b948f74fa9a170ba714dfb09f34a0a2 (diff)
DolphinNoGUI: Make variables constant
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinNoGUI/MainNoGUI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
index 23f349086e..8598803afd 100644
--- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp
+++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp
@@ -201,7 +201,8 @@ int main(int argc, char* argv[])
{
Core::DeclareAsHostThread();
- auto parser = CommandLineParse::CreateParser(CommandLineParse::ParserOptions::OmitGUIOptions);
+ const auto parser =
+ CommandLineParse::CreateParser(CommandLineParse::ParserOptions::OmitGUIOptions);
parser->add_option("-p", "--platform")
.action("store")
.help("Window platform to use [%choices]")