mirror of
https://github.com/monero-project/monero.git
synced 2026-07-28 22:51:07 -07:00
wallet: wallet args take argv[] as const
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user