mirror of
https://github.com/monero-project/monero.git
synced 2025-08-23 11:15:16 -04:00
Merge pull request #7355
bd12984
Remove copies from foreach loops (thanks to Clang) (Lee Clagett)1572df9
Removing unused namespace alias (Lee Clagett)
This commit is contained in:
commit
6556c33f13
9 changed files with 17 additions and 19 deletions
|
@ -345,8 +345,6 @@ std::string get_weight_string(const cryptonote::transaction &tx, size_t blob_siz
|
|||
|
||||
std::unique_ptr<tools::wallet2> make_basic(const boost::program_options::variables_map& vm, bool unattended, const options& opts, const std::function<boost::optional<tools::password_container>(const char *, bool)> &password_prompter)
|
||||
{
|
||||
namespace ip = boost::asio::ip;
|
||||
|
||||
const bool testnet = command_line::get_arg(vm, opts.testnet);
|
||||
const bool stagenet = command_line::get_arg(vm, opts.stagenet);
|
||||
const network_type nettype = testnet ? TESTNET : stagenet ? STAGENET : MAINNET;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue