From 38f7248f4950f4c13c2ddab088e7b87399389927 Mon Sep 17 00:00:00 2001 From: Stephen Seo Date: Thu, 7 Mar 2024 16:47:37 +0900 Subject: [PATCH] Minor refactoring Use `const std::array<...>` instead of `const std::vector<...>`. --- src/blue_noise.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blue_noise.cpp b/src/blue_noise.cpp index bb366b1..a1a0d25 100644 --- a/src/blue_noise.cpp +++ b/src/blue_noise.cpp @@ -21,7 +21,7 @@ static std::vector VK_EXTENSIONS = {}; #if VULKAN_VALIDATION == 1 -const std::vector VALIDATION_LAYERS = { +const std::array VALIDATION_LAYERS = { "VK_LAYER_KHRONOS_validation"}; static VKAPI_ATTR VkBool32 VKAPI_CALL fn_VULKAN_DEBUG_CALLBACK( -- 2.49.0