Skip to content

Commit

Permalink
Compilation fix on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
nadult committed Nov 19, 2023
1 parent 946c89b commit 699f621
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/fwk/vulkan/vulkan_command_queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ class VulkanCommandQueue {

void setPushConstants(u32 offset, VShaderStages, CSpan<char> data);
template <class T> void setPushConstants(u32 offset, VShaderStages stages, CSpan<T> data) {
setPushConstants(offset, stages, data.reinterpret<char>());
setPushConstants(offset, stages, data.template reinterpret<char>());
}
template <class T> void setPushConstants(u32 offset, VShaderStages stages, const T &data) {
auto byte_ptr = reinterpret_cast<const char *>(&data);
Expand Down Expand Up @@ -234,4 +234,4 @@ class VulkanCommandQueue {
double m_timestamp_period = 1.0;
Status m_status = Status::initialized;
};
}
}

0 comments on commit 699f621

Please sign in to comment.