From 719cb93a1ac6b9f72e580273792c16e0c8e70946 Mon Sep 17 00:00:00 2001 From: Ben Wiederhake Date: Sun, 28 Feb 2021 02:31:17 +0100 Subject: [PATCH] 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. --- Kernel/Random.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Kernel/Random.h b/Kernel/Random.h index faa0f96801..0997e4ddbf 100644 --- a/Kernel/Random.h +++ b/Kernel/Random.h @@ -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()))