wallet: wallet args take argv[] as const

This commit is contained in:
jeffro256
2026-06-14 19:00:23 -05:00
parent 757679bb6a
commit e9a8a268be
2 changed files with 6 additions and 4 deletions
+3 -2
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2014-2024, The Monero Project
// Copyright (c) 2014-2026, The Monero Project
//
// All rights reserved.
//
@@ -87,7 +87,8 @@ namespace wallet_args
}
std::pair<boost::optional<boost::program_options::variables_map>, bool> main(
int argc, char** argv,
int argc,
const char* const argv[],
const char* const usage,
const char* const notice,
boost::program_options::options_description desc_params,
+3 -2
View File
@@ -1,4 +1,4 @@
// Copyright (c) 2014-2024, The Monero Project
// Copyright (c) 2014-2026, The Monero Project
//
// All rights reserved.
//
@@ -50,7 +50,8 @@ namespace wallet_args
pair.second: Should the execution terminate successfully without actually launching the application
*/
std::pair<boost::optional<boost::program_options::variables_map>, bool> main(
int argc, char** argv,
int argc,
const char* const argv[],
const char* const usage,
const char* const notice,
boost::program_options::options_description desc_params,