summaryrefslogtreecommitdiff
path: root/node/Tag.hpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-25 11:59:14 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-03-25 11:59:14 -0700
commit2600b1f144d8d2d2f4f4c0c1fe71db9d0839c084 (patch)
tree9d94a704f5b34036ee81e2a0833f1039c2297f1f /node/Tag.hpp
parentb56753ea9f86cd4c4ea749cdd6647a94b7ff0063 (diff)
downloadinfinitytier-2600b1f144d8d2d2f4f4c0c1fe71db9d0839c084.tar.gz
infinitytier-2600b1f144d8d2d2f4f4c0c1fe71db9d0839c084.zip
Removal of more mem*() calls.
Diffstat (limited to 'node/Tag.hpp')
-rw-r--r--node/Tag.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/node/Tag.hpp b/node/Tag.hpp
index d6ef246f..2f3bf66e 100644
--- a/node/Tag.hpp
+++ b/node/Tag.hpp
@@ -65,9 +65,12 @@ class Tag : public Credential
public:
static inline Credential::Type credentialType() { return Credential::CREDENTIAL_TYPE_TAG; }
- Tag()
+ Tag() :
+ _id(0),
+ _value(0),
+ _networkId(0),
+ _ts(0)
{
- memset(this,0,sizeof(Tag));
}
/**