From ab75719ee0356708155d8ffe9686144da4d2892a Mon Sep 17 00:00:00 2001 From: Adam Sawicki Date: Wed, 23 Feb 2022 10:39:40 +0100 Subject: [PATCH] Fix for failing CI job on linux. Code by @medranSolus --- include/vk_mem_alloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index 05415cc..ce3279a 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -13016,7 +13016,7 @@ VkResult VmaDefragmentationContext_T::DefragmentPassEnd(VmaDefragmentationPassMo VMA_ASSERT(moveInfo.moveCount > 0 ? moveInfo.pMoves != VMA_NULL : true); VkResult result = VK_SUCCESS; - VmaVector> immovableBlocks({ m_MoveAllocator.m_pCallbacks }); + VmaVector> immovableBlocks(VmaStlAllocator(m_MoveAllocator.m_pCallbacks)); for (uint32_t i = 0; i < moveInfo.moveCount; ++i) { VmaDefragmentationMove& move = moveInfo.pMoves[i];