Fix build on GCC (#1080)

* Fix build on GCC

* Yes thank you clang-format

* Just remove static
This commit is contained in:
Paris Oplopoios 2024-09-26 20:39:55 +03:00 committed by GitHub
parent 23f4b304b8
commit eef0e6fc63
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -295,7 +295,7 @@ TileManager::TileManager(const Vulkan::Instance& instance, Vulkan::Scheduler& sc
.bindingCount = static_cast<u32>(bindings.size()),
.pBindings = bindings.data(),
};
static auto [desc_layout_result, desc_layout] =
auto [desc_layout_result, desc_layout] =
instance.GetDevice().createDescriptorSetLayoutUnique(desc_layout_ci);
ASSERT_MSG(desc_layout_result == vk::Result::eSuccess,
"Failed to create descriptor set layout: {}", vk::to_string(desc_layout_result));