mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-09 03:08:31 +01:00
fix init order warning
This commit is contained in:
parent
303861cf11
commit
1f27dcf5c0
@ -289,9 +289,8 @@ static void blake2b_compress(blake2b_state *S, const uint8_t block[BLAKE2B_BLOCK
|
||||
}
|
||||
}
|
||||
|
||||
BLAKE2Engine::BLAKE2Engine(ALGORITHM algorithm)
|
||||
: _algorithm(algorithm)
|
||||
, _context(NULL)
|
||||
BLAKE2Engine::BLAKE2Engine(ALGORITHM algorithm): _context(NULL),
|
||||
_algorithm(algorithm)
|
||||
{
|
||||
_digest.reserve(digestLength());
|
||||
reset();
|
||||
|
@ -123,9 +123,8 @@ typedef struct
|
||||
unsigned char delimitedSuffix;
|
||||
} HASHCONTEXT;
|
||||
|
||||
SHA3Engine::SHA3Engine(ALGORITHM algorithm)
|
||||
: _algorithm(algorithm)
|
||||
, _context(NULL)
|
||||
SHA3Engine::SHA3Engine(ALGORITHM algorithm): _context(NULL),
|
||||
_algorithm(algorithm)
|
||||
{
|
||||
_digest.reserve(digestLength());
|
||||
reset();
|
||||
|
Loading…
Reference in New Issue
Block a user