From 1d357adfa19725ee69fb267a363f1fd217b1272f Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Sat, 4 Jan 2025 12:02:45 -0600 Subject: Various style fixes. --- source/fud_allocator.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/fud_allocator.cpp') 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(this); } +// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) FudAllocator globalFudAllocator{}; Result NullAllocator::allocate(size_t bytes, size_t alignment) @@ -63,6 +64,7 @@ bool NullAllocator::isEqual(const Allocator& rhs) const return &rhs == static_cast(this); } +// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables) NullAllocator globalNullAllocator{}; } // namespace fud -- cgit v1.2.3