diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 17:36:47 -0700 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2015-10-27 17:36:47 -0700 |
| commit | 51fcc753549e4f7c18efb889a841c4dd4fb9e6cf (patch) | |
| tree | bdcf0626705b0110675e02c84114ef14cee1d174 /node/Path.hpp | |
| parent | 4221552c0b3283d106a7c3a44959a02fefd31af6 (diff) | |
| download | infinitytier-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.hpp | 8 |
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 * |
