Add missing const-qualifier in the static_cast in function T const & StructureChain::getFeatures2() const.
This commit is contained in:
@@ -978,7 +978,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
T const & get() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::get<ChainElementIndex<0, T, Which, void, ChainElements...>::value>(
|
||||
static_cast<std::tuple<ChainElements...> &>( *this ) );
|
||||
static_cast<std::tuple<ChainElements...> const &>( *this ) );
|
||||
}
|
||||
|
||||
template <typename T0, typename T1, typename... Ts>
|
||||
|
||||
Reference in New Issue
Block a user