Merge pull request #279 from wowario/warning

fix warning by removing std::move() on temporary http_client object
This commit is contained in:
jw 2020-06-28 07:19:12 -07:00 committed by GitHub
commit f7ba826cd2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1125,7 +1125,7 @@ void wallet_device_callback::on_progress(const hw::device_progress& event)
} }
wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory): wallet2::wallet2(network_type nettype, uint64_t kdf_rounds, bool unattended, std::unique_ptr<epee::net_utils::http::http_client_factory> http_client_factory):
m_http_client(std::move(http_client_factory->create())), m_http_client(http_client_factory->create()),
m_multisig_rescan_info(NULL), m_multisig_rescan_info(NULL),
m_multisig_rescan_k(NULL), m_multisig_rescan_k(NULL),
m_upper_transaction_weight_limit(0), m_upper_transaction_weight_limit(0),