Kernel: Make clang(?) happy about templates(?)

This caused some issues with QtCreator, and since it's not wrong and improves
readability very slightly, I adopt it.
This commit is contained in:
Ben Wiederhake 2021-02-28 02:31:17 +01:00 committed by Andreas Kling
parent 336303bda4
commit 719cb93a1a

View file

@ -46,9 +46,9 @@ public:
constexpr static size_t reseed_threshold = 16;
using CipherType = CipherT;
using BlockType = CipherT::BlockType;
using BlockType = typename CipherT::BlockType;
using HashType = HashT;
using DigestType = HashT::DigestType;
using DigestType = typename HashT::DigestType;
FortunaPRNG()
: m_counter(ByteBuffer::create_zeroed(BlockType::block_size()))