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
parent13f414cb9fd8de5db2edb91c9a5dcc3d8e35999e (diff)
parent760d3a2a0c3e6778e3b1f2949b6b4eddebf963e5 (diff)
downloadmonzero-core-4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af.tar.gz
monzero-core-4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af.tar.xz
monzero-core-4f3f15edbacf840ac3ecbbefc3e5e0f1025c77af.zip
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;
}