diff options
author | Riccardo Spagni <ric@spagni.net> | 2019-04-01 17:31:17 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2019-04-01 17:31:17 +0200 |
commit | 4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af (patch) | |
tree | aec0383470e65c4632d8725375c8285dbeb7496b /src | |
parent | Merge pull request #5322 (diff) | |
parent | daemon: init public_port in all ctors (diff) | |
download | monero-4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af.tar.xz |
Merge pull request #5325
760d3a2a daemon: init public_port in all ctors (moneromooo-monero)
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/daemon.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/daemon/daemon.cpp b/src/daemon/daemon.cpp index 3d1d893ea..531c080de 100644 --- a/src/daemon/daemon.cpp +++ b/src/daemon/daemon.cpp @@ -115,6 +115,7 @@ t_daemon::t_daemon(t_daemon && other) { mp_internals = std::move(other.mp_internals); 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); other.mp_internals.reset(nullptr); + public_rpc_port = other.public_rpc_port; } return *this; } |