From: David ‘Bombe’ Roden Date: Sun, 6 Jul 2008 10:10:03 +0000 (+0200) Subject: add id to hash tag X-Git-Tag: 0.1~4 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=005e134568b5c77ec880481ec66f78b22c1cd6f2;p=ecparse.git add id to hash tag --- diff --git a/HashTag.cpp b/HashTag.cpp index f6fd7fa..8dbc88a 100644 --- a/HashTag.cpp +++ b/HashTag.cpp @@ -6,7 +6,7 @@ #include -HashTag::HashTag(const char* hash): Tag(Hash, 0) { +HashTag::HashTag(int id, const char* hash): Tag(Hash, id) { memcpy(this->hash, hash, 16); } diff --git a/HashTag.h b/HashTag.h index abcf98b..55ac2ef 100644 --- a/HashTag.h +++ b/HashTag.h @@ -9,7 +9,7 @@ class HashTag: public Tag { public: - HashTag(const char* hash); + HashTag(int id, const char* hash); int getSize(); void* getValue();