diff options
Diffstat (limited to 'runtime/base/allocator.cc')
-rw-r--r-- | runtime/base/allocator.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/base/allocator.cc b/runtime/base/allocator.cc index 4f7753d476..3469eca8c3 100644 --- a/runtime/base/allocator.cc +++ b/runtime/base/allocator.cc @@ -23,7 +23,7 @@ namespace art { -class MallocAllocator : public Allocator { +class MallocAllocator FINAL : public Allocator { public: explicit MallocAllocator() {} ~MallocAllocator() {} @@ -42,7 +42,7 @@ class MallocAllocator : public Allocator { MallocAllocator g_malloc_allocator; -class NoopAllocator : public Allocator { +class NoopAllocator FINAL : public Allocator { public: explicit NoopAllocator() {} ~NoopAllocator() {} |