mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
Merge pull request #5325
760d3a2a
daemon: init public_port in all ctors (moneromooo-monero)
This commit is contained in:
commit
4f3f15edba
1 changed files with 2 additions and 0 deletions
|
@ -115,6 +115,7 @@ t_daemon::t_daemon(t_daemon && other)
|
||||||
{
|
{
|
||||||
mp_internals = std::move(other.mp_internals);
|
mp_internals = std::move(other.mp_internals);
|
||||||
other.mp_internals.reset(nullptr);
|
other.mp_internals.reset(nullptr);
|
||||||
|
public_rpc_port = other.public_rpc_port;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -125,6 +126,7 @@ t_daemon & t_daemon::operator=(t_daemon && other)
|
||||||
{
|
{
|
||||||
mp_internals = std::move(other.mp_internals);
|
mp_internals = std::move(other.mp_internals);
|
||||||
other.mp_internals.reset(nullptr);
|
other.mp_internals.reset(nullptr);
|
||||||
|
public_rpc_port = other.public_rpc_port;
|
||||||
}
|
}
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue