1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 19:43: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
@@ -111,7 +111,8 @@ static const uint32_t sha256_k[64] =
/** An sha256 context
*/
class SHA256Context : public Encryption::Context
class SHA256Context
: public Encryption::Context
{
void Transform(unsigned char *message, unsigned block_nb)
{
@@ -216,7 +217,8 @@ public:
}
};
class SHA256Provider : public Encryption::Provider
class SHA256Provider
: public Encryption::Provider
{
public:
SHA256Provider(Module *creator) : Encryption::Provider(creator, "sha256") { }
@@ -235,7 +237,8 @@ public:
}
};
class ESHA256 : public Module
class ESHA256
: public Module
{
SHA256Provider sha256provider;