mirror of
https://github.com/monero-project/monero.git
synced 2025-05-06 10:05:03 -04:00
pass large parameters by const ref, not value
Coverity 136394 136397 136409 136526 136529 136533 175302
This commit is contained in:
parent
61defd89e3
commit
2e3e90acbe
7 changed files with 14 additions and 14 deletions
|
@ -207,7 +207,7 @@ namespace net_utils
|
|||
|
||||
bool connect(const std::string& adr, const std::string& port, uint32_t conn_timeot, t_connection_context& cn, const std::string& bind_ip = "0.0.0.0");
|
||||
template<class t_callback>
|
||||
bool connect_async(const std::string& adr, const std::string& port, uint32_t conn_timeot, t_callback cb, const std::string& bind_ip = "0.0.0.0");
|
||||
bool connect_async(const std::string& adr, const std::string& port, uint32_t conn_timeot, const t_callback &cb, const std::string& bind_ip = "0.0.0.0");
|
||||
|
||||
typename t_protocol_handler::config_type& get_config_object(){return m_config;}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue