Browse Source

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.
Ben Wiederhake 4 năm trước cách đây
mục cha
commit
719cb93a1a
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      Kernel/Random.h

+ 2 - 2
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()))