From 5076ad11dfa6449712acc6f6bfb7429434b52615 Mon Sep 17 00:00:00 2001 From: Howard Su Date: Sat, 10 Aug 2024 01:56:45 +0800 Subject: [PATCH] Remove unused static function swap --- include/vk_mem_alloc.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/include/vk_mem_alloc.h b/include/vk_mem_alloc.h index b24942a..abc9adb 100644 --- a/include/vk_mem_alloc.h +++ b/include/vk_mem_alloc.h @@ -3840,12 +3840,6 @@ struct VmaBufferImageUsage const VmaBufferImageUsage VmaBufferImageUsage::UNKNOWN = VmaBufferImageUsage(0); -static void swap(VmaBufferImageUsage& lhs, VmaBufferImageUsage& rhs) noexcept -{ - using std::swap; - swap(lhs.Value, rhs.Value); -} - VmaBufferImageUsage::VmaBufferImageUsage(const VkBufferCreateInfo &createInfo, bool useKhrMaintenance5) {