mirror of
https://github.com/wownero/wownero.git
synced 2026-10-23 10:28:35 +02: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.
|
// All rights reserved.
|
||||||
//
|
//
|
||||||
@@ -87,7 +87,8 @@ namespace wallet_args
|
|||||||
}
|
}
|
||||||
|
|
||||||
std::pair<boost::optional<boost::program_options::variables_map>, bool> main(
|
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 usage,
|
||||||
const char* const notice,
|
const char* const notice,
|
||||||
boost::program_options::options_description desc_params,
|
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.
|
// All rights reserved.
|
||||||
//
|
//
|
||||||
@@ -50,7 +50,8 @@ namespace wallet_args
|
|||||||
pair.second: Should the execution terminate successfully without actually launching the application
|
pair.second: Should the execution terminate successfully without actually launching the application
|
||||||
*/
|
*/
|
||||||
std::pair<boost::optional<boost::program_options::variables_map>, bool> main(
|
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 usage,
|
||||||
const char* const notice,
|
const char* const notice,
|
||||||
boost::program_options::options_description desc_params,
|
boost::program_options::options_description desc_params,
|
||||||
|
|||||||
Reference in New Issue
Block a user