[HPP] Add missing ref-qualifier for conversion operator of ResultValue

This commit is contained in:
mocabe 2020-05-26 17:15:50 +09:00 committed by Markus Tavenrath
parent e2066fa002
commit b36fe941f4
2 changed files with 5 additions and 5 deletions

View File

@ -7874,12 +7874,12 @@ namespace std
operator std::tuple<Result&, T&>() VULKAN_HPP_NOEXCEPT { return std::tuple<Result&, T&>(result, value); }
#if !defined(VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST)
operator T const& () const VULKAN_HPP_NOEXCEPT
operator T const& () const & VULKAN_HPP_NOEXCEPT
{
return value;
}
operator T& () VULKAN_HPP_NOEXCEPT
operator T& () & VULKAN_HPP_NOEXCEPT
{
return value;
}

View File

@ -15887,12 +15887,12 @@ namespace VULKAN_HPP_NAMESPACE
}
#if !defined( VULKAN_HPP_DISABLE_IMPLICIT_RESULT_VALUE_CAST )
operator T const &() const VULKAN_HPP_NOEXCEPT
operator T const &() const & VULKAN_HPP_NOEXCEPT
{
return value;
}
operator T &() VULKAN_HPP_NOEXCEPT
operator T &() & VULKAN_HPP_NOEXCEPT
{
return value;
}
@ -24360,7 +24360,7 @@ namespace VULKAN_HPP_NAMESPACE
typename ResultValueType<void>::type
resetDescriptorPool( VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool,
VULKAN_HPP_NAMESPACE::DescriptorPoolResetFlags flags = DescriptorPoolResetFlags(),
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const;
Dispatch const & d = VULKAN_HPP_DEFAULT_DISPATCHER ) const;
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
#ifdef VULKAN_HPP_DISABLE_ENHANCED_MODE