mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-23 18:32:55 +00:00
initialize members once from QKatHash constructor
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
5a42c98676
commit
6665c58b83
1 changed files with 2 additions and 4 deletions
|
@ -51,11 +51,9 @@ private:
|
|||
};
|
||||
|
||||
QKatHash::QKatHash()
|
||||
: m_xxh3(nullptr),
|
||||
m_xxh32(nullptr)
|
||||
: m_xxh3(XXH3_createState()),
|
||||
m_xxh32(XXH3_createState())
|
||||
{
|
||||
m_xxh3 = XXH3_createState();
|
||||
m_xxh32 = XXH3_createState();
|
||||
}
|
||||
|
||||
QKatHash::~QKatHash()
|
||||
|
|
Loading…
Add table
Reference in a new issue