Skip to content

Commit 1892d54

Browse files
committed
Typename changes for clang
1 parent a81754e commit 1892d54

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

include/nbl/video/alloc/CAsyncSingleBufferSubAllocator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ class CAsyncSingleBufferSubAllocator
2828
using Composed = CSingleBufferSubAllocator<AddressAllocator,HostAllocator>;
2929

3030
public:
31-
using size_type = AddressAllocator::size_type;
32-
using value_type = Composed::value_type;
31+
using size_type = typename AddressAllocator::size_type;
32+
using value_type = typename Composed::value_type;
3333
static constexpr value_type invalid_value = Composed::invalid_value;
3434

3535
class DeferredFreeFunctor

include/nbl/video/alloc/CSingleBufferSubAllocator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ class CSingleBufferSubAllocator : public IBufferAllocator
2020
public:
2121
using AddressAllocator = AddrAllocator;
2222
using ReservedAllocator = ReservAllocator;
23-
using size_type = AddressAllocator::size_type;
24-
using value_type = AddressAllocator::size_type;
23+
using size_type = typename AddressAllocator::size_type;
24+
using value_type = typename AddressAllocator::size_type;
2525
static constexpr value_type invalid_value = AddressAllocator::invalid_address;
2626

2727
// constructors

0 commit comments

Comments
 (0)