@@ -10538,7 +10538,7 @@ std::string VulkanHppGenerator::generateStructConstructors( std::pair<std::strin
10538
10538
// gather the initializers; skip members with exactly one legal value
10539
10539
if ( member.value.empty() )
10540
10540
{
10541
- initializers.push_back( member.name + "( " + member.name + "_ ) " );
10541
+ initializers.push_back( member.name + "{ " + member.name + "_ } " );
10542
10542
}
10543
10543
}
10544
10544
auto pNextIt = std::find_if( structData.second.members.begin(), structData.second.members.end(), []( MemberData const & md ) { return md.name == "pNext"; } );
@@ -10924,11 +10924,11 @@ std::string VulkanHppGenerator::generateStructure( std::pair<std::string, Struct
10924
10924
VULKAN_HPP_NAMESPACE::DeviceFaultVendorInfoEXT * pVendorInfos_ = {},
10925
10925
void * pVendorBinaryData_ = {},
10926
10926
void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT
10927
- : pNext( pNext_ )
10928
- , description( description_ )
10929
- , pAddressInfos( pAddressInfos_ )
10930
- , pVendorInfos( pVendorInfos_ )
10931
- , pVendorBinaryData( pVendorBinaryData_ )
10927
+ : pNext{ pNext_ }
10928
+ , description{ description_ }
10929
+ , pAddressInfos{ pAddressInfos_ }
10930
+ , pVendorInfos{ pVendorInfos_ }
10931
+ , pVendorBinaryData{ pVendorBinaryData_ }
10932
10932
{
10933
10933
}
10934
10934
@@ -10943,10 +10943,10 @@ std::string VulkanHppGenerator::generateStructure( std::pair<std::string, Struct
10943
10943
DeviceFaultInfoEXT & operator=( DeviceFaultInfoEXT const & ) = delete;
10944
10944
10945
10945
DeviceFaultInfoEXT( DeviceFaultInfoEXT && rhs ) VULKAN_HPP_NOEXCEPT
10946
- : pNext( rhs.pNext )
10947
- , pAddressInfos( rhs.pAddressInfos )
10948
- , pVendorInfos( rhs.pVendorInfos )
10949
- , pVendorBinaryData( rhs.pVendorBinaryData )
10946
+ : pNext{ rhs.pNext }
10947
+ , pAddressInfos{ rhs.pAddressInfos }
10948
+ , pVendorInfos{ rhs.pVendorInfos }
10949
+ , pVendorBinaryData{ rhs.pVendorBinaryData }
10950
10950
{
10951
10951
memcpy( description, rhs.description, VK_MAX_DESCRIPTION_SIZE );
10952
10952
0 commit comments