Merge pull request #1358 from asuessenbach/explicit
Revert struct conversion operators to be implicit.
This commit is contained in:
commit
6e29bf69cf
@ -9198,12 +9198,12 @@ ${allowDuplicate}
|
|||||||
${typeValue}
|
${typeValue}
|
||||||
${constructorAndSetters}
|
${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 );
|
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 );
|
return *reinterpret_cast<Vk${structureType}*>( this );
|
||||||
}
|
}
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user