From 00219a5bdbe63aee3957de193fe640f499f01eb4 Mon Sep 17 00:00:00 2001 From: assiduous Date: Sat, 13 Mar 2021 18:11:59 -0800 Subject: Renamed Align to AlignUp --- Common/src/FixedBlockMemoryAllocator.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Common/src') diff --git a/Common/src/FixedBlockMemoryAllocator.cpp b/Common/src/FixedBlockMemoryAllocator.cpp index 4e735a4d..8fdf6b35 100644 --- a/Common/src/FixedBlockMemoryAllocator.cpp +++ b/Common/src/FixedBlockMemoryAllocator.cpp @@ -35,7 +35,7 @@ namespace Diligent static size_t AdjustBlockSize(size_t BlockSize) { - return Align(std::max(BlockSize, size_t{1}), sizeof(void*)); + return AlignUp(std::max(BlockSize, size_t{1}), sizeof(void*)); } FixedBlockMemoryAllocator::FixedBlockMemoryAllocator(IMemoryAllocator& RawMemoryAllocator, -- cgit v1.2.3