Skip to content

Commit 579f693

Browse files
committed
Linitng and minor fix for syntax
1 parent 8547323 commit 579f693

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

examples/arm/executor_runner/arm_memory_allocator.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,7 @@
99
ArmMemoryAllocator::ArmMemoryAllocator(uint32_t size, uint8_t* base_address)
1010
: MemoryAllocator(size, base_address), used_(0), peak_used_(0) {}
1111

12-
void* ArmMemoryAllocator::allocate(
13-
size_t size,
14-
size_t alignment = kDefaultAlignment) override {
12+
void* ArmMemoryAllocator::allocate(size_t size, size_t alignment) {
1513
void* ret = executorch::runtime::MemoryAllocator::allocate(size, alignment);
1614
if (ret != nullptr) {
1715
// Align with the same code as in MemoryAllocator::allocate() to keep

0 commit comments

Comments
 (0)