summaryrefslogtreecommitdiff
path: root/node/Path.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 17:36:47 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2015-10-27 17:36:47 -0700
commit51fcc753549e4f7c18efb889a841c4dd4fb9e6cf (patch)
treebdcf0626705b0110675e02c84114ef14cee1d174 /node/Path.hpp
parent4221552c0b3283d106a7c3a44959a02fefd31af6 (diff)
downloadinfinitytier-51fcc753549e4f7c18efb889a841c4dd4fb9e6cf.tar.gz
infinitytier-51fcc753549e4f7c18efb889a841c4dd4fb9e6cf.zip
Some cleanup, and use getPeerNoCache() exclusively in Cluster.
Diffstat (limited to 'node/Path.hpp')
-rw-r--r--node/Path.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/node/Path.hpp b/node/Path.hpp
index 99f6590b..2b05b812 100644
--- a/node/Path.hpp
+++ b/node/Path.hpp
@@ -95,6 +95,14 @@ public:
{
}
+ inline Path &operator=(const Path &p)
+ throw()
+ {
+ if (this != &p)
+ memcpy(this,&p,sizeof(Path));
+ return *this;
+ }
+
/**
* Called when a packet is sent to this remote path
*