From e9a8a268bec735ccd09618a3f0c5a346ec2ef272 Mon Sep 17 00:00:00 2001 From: jeffro256 Date: Sun, 14 Jun 2026 18:54:27 -0500 Subject: [PATCH] wallet: wallet args take argv[] as const --- src/wallet/wallet_args.cpp | 5 +++-- src/wallet/wallet_args.h | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/wallet/wallet_args.cpp b/src/wallet/wallet_args.cpp index 45e9afa4c..d73968bf4 100644 --- a/src/wallet/wallet_args.cpp +++ b/src/wallet/wallet_args.cpp @@ -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, 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, diff --git a/src/wallet/wallet_args.h b/src/wallet/wallet_args.h index b68679cec..348b592eb 100644 --- a/src/wallet/wallet_args.h +++ b/src/wallet/wallet_args.h @@ -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, 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,