summaryrefslogtreecommitdiff
path: root/crc.h
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-10-03 19:40:53 -0400
committerJeffrey Walton <noloader@gmail.com>2019-10-03 19:40:53 -0400
commit589c25264a3b15fae101962f8a8a334a03c90075 (patch)
treed8493fa92058af7139d9eeb75358623e44a4d631 /crc.h
parenteff2b4f05a432a745d5912ec99f8c8ac85ebbaa6 (diff)
downloadcryptopp-git-589c25264a3b15fae101962f8a8a334a03c90075.tar.gz
Don't add semicolon to CRYPTOPP_CONSTANT abd DOCUMENTED_TYPEDEF (GH #889)
This issue is a recurring issue. Let's try fixing it in the #define this time.
Diffstat (limited to 'crc.h')
-rw-r--r--crc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crc.h b/crc.h
index 02332e4b..9f741aa3 100644
--- a/crc.h
+++ b/crc.h
@@ -25,7 +25,7 @@ const word32 CRC32_NEGL = 0xffffffffL;
class CRC32 : public HashTransformation
{
public:
- CRYPTOPP_CONSTANT(DIGESTSIZE = 4)
+ CRYPTOPP_CONSTANT(DIGESTSIZE = 4) ;
CRC32();
void Update(const byte *input, size_t length);
void TruncatedFinal(byte *hash, size_t size);
@@ -52,7 +52,7 @@ private:
class CRC32C : public HashTransformation
{
public:
- CRYPTOPP_CONSTANT(DIGESTSIZE = 4)
+ CRYPTOPP_CONSTANT(DIGESTSIZE = 4) ;
CRC32C();
void Update(const byte *input, size_t length);
void TruncatedFinal(byte *hash, size_t size);