mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Revert struct conversion operators to be implicit.
This commit is contained in:
parent
9eca3d1d0a
commit
75f02617cb
@ -9198,12 +9198,12 @@ ${allowDuplicate}
|
||||
${typeValue}
|
||||
${constructorAndSetters}
|
||||
|
||||
explicit operator Vk${structureType} const &() const VULKAN_HPP_NOEXCEPT
|
||||
operator Vk${structureType} const &() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<const Vk${structureType}*>( this );
|
||||
}
|
||||
|
||||
explicit operator Vk${structureType} &() VULKAN_HPP_NOEXCEPT
|
||||
operator Vk${structureType} &() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return *reinterpret_cast<Vk${structureType}*>( this );
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user