1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 10:03:13 +02:00

Improve the layout of types that inherit from another type.

This commit is contained in:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+6 -3
View File
@@ -86,7 +86,8 @@ static const uint32_t md5_iv[4] =
0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476
};
class MD5Context : public Encryption::Context
class MD5Context
: public Encryption::Context
{
unsigned state[4]; /* state (ABCD) */
unsigned count[2]; /* number of bits, modulo 2^64 (lsb first) */
@@ -318,7 +319,8 @@ public:
}
};
class MD5Provider : public Encryption::Provider
class MD5Provider
: public Encryption::Provider
{
public:
MD5Provider(Module *creator) : Encryption::Provider(creator, "md5") { }
@@ -337,7 +339,8 @@ public:
}
};
class EMD5 : public Module
class EMD5
: public Module
{
MD5Provider md5provider;