Skip to content

Commit 55049f5

Browse files
committed
Fix StatsRange on OE
1 parent 453a7d5 commit 55049f5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/backend/backend.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ namespace snmalloc
129129
#if defined(OPEN_ENCLAVE)
130130
// Single global buddy allocator is used on open enclave due to
131131
// the limited address space.
132-
using GlobalR = GlobalRange<StatsR<SmallBuddyRange<
133-
LargeBuddyRange<EmptyRange, bits::BITS - 1, bits::BITS - 1, Pagemap>>>>;
132+
using StatsR = StatsRange<SmallBuddyRange<
133+
LargeBuddyRange<EmptyRange, bits::BITS - 1, bits::BITS - 1, Pagemap>>>;
134+
using GlobalR = GlobalRange<StatsR>;
134135
using ObjectRange = GlobalR;
135136
using GlobalMetaRange = ObjectRange;
136137
#else

0 commit comments

Comments
 (0)