mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-10 14:40:07 +00:00
[HPP] Add missing ref-qualifier for conversion operator of ResultValue
This commit is contained in:
parent
e2066fa002
commit
b36fe941f4
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user