aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-04-01 17:31:17 +0200
committerRiccardo Spagni <ric@spagni.net>2019-04-01 17:31:17 +0200
commit4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af (patch)
treeaec0383470e65c4632d8725375c8285dbeb7496b /src
parentMerge pull request #5322 (diff)
parentdaemon: init public_port in all ctors (diff)
downloadmonero-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.cpp2
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;
}