diff options
Diffstat (limited to 'source/fud_allocator.cpp')
-rw-r--r-- | source/fud_allocator.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/fud_allocator.cpp b/source/fud_allocator.cpp index 3f58fb0..08a64fa 100644 --- a/source/fud_allocator.cpp +++ b/source/fud_allocator.cpp @@ -43,6 +43,7 @@ bool FudAllocator::isEqual(const Allocator& rhs) const return &rhs == static_cast<const Allocator*>(this); } +// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) FudAllocator globalFudAllocator{}; Result<std::byte*, FudStatus> NullAllocator::allocate(size_t bytes, size_t alignment) @@ -63,6 +64,7 @@ bool NullAllocator::isEqual(const Allocator& rhs) const return &rhs == static_cast<const Allocator*>(this); } +// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) NullAllocator globalNullAllocator{}; } // namespace fud |