From 699f6214752ccd52a34d3835c34259d1df3508be Mon Sep 17 00:00:00 2001 From: Krzysztof Jakubowski Date: Sun, 19 Nov 2023 21:01:00 +0100 Subject: [PATCH] Compilation fix on linux --- include/fwk/vulkan/vulkan_command_queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/fwk/vulkan/vulkan_command_queue.h b/include/fwk/vulkan/vulkan_command_queue.h index ae99c4ca..46c51a4d 100644 --- a/include/fwk/vulkan/vulkan_command_queue.h +++ b/include/fwk/vulkan/vulkan_command_queue.h @@ -86,7 +86,7 @@ class VulkanCommandQueue { void setPushConstants(u32 offset, VShaderStages, CSpan data); template void setPushConstants(u32 offset, VShaderStages stages, CSpan data) { - setPushConstants(offset, stages, data.reinterpret()); + setPushConstants(offset, stages, data.template reinterpret()); } template void setPushConstants(u32 offset, VShaderStages stages, const T &data) { auto byte_ptr = reinterpret_cast(&data); @@ -234,4 +234,4 @@ class VulkanCommandQueue { double m_timestamp_period = 1.0; Status m_status = Status::initialized; }; -} \ No newline at end of file +}