Revert struct conversion operators to be implicit.

This commit is contained in:
asuessenbach 2022-07-19 08:18:22 +02:00
parent 9eca3d1d0a
commit 75f02617cb
3 changed files with 1618 additions and 1618 deletions

View File

@ -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