diff options
author | Dominick Allen <djallen@librehumanitas.org> | 2025-01-04 12:02:45 -0600 |
---|---|---|
committer | Dominick Allen <djallen@librehumanitas.org> | 2025-01-04 12:02:45 -0600 |
commit | 1d357adfa19725ee69fb267a363f1fd217b1272f (patch) | |
tree | 8d8710ba8ba7dff0b3da6b073fbb94f1a7b03ec5 /source/fud_allocator.cpp | |
parent | 0b400af9519444deef4cc6ad2c43c30e2092ab4f (diff) |
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 |