Remove an outdated assertion (#1903)

This commit is contained in:
Andreas Süßenbach 2024-06-13 15:30:49 +02:00 committed by GitHub
parent 842406f2a6
commit b7b92b1e45
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12716,7 +12716,6 @@ bool VulkanHppGenerator::handleRemovalType( std::string const & type, std::vecto
bool VulkanHppGenerator::hasLen( MemberData const & memberData, std::vector<MemberData> const & members ) const
{
assert( memberData.lenMembers.size() <= memberData.lenExpressions.size() );
return ( !memberData.lenMembers.empty() &&
( ( ( memberData.lenExpressions[0] == memberData.lenMembers[0].first ) && members[memberData.lenMembers[0].second].type.isValue() ) ||
( memberData.lenExpressions[0] == ( memberData.lenMembers[0].first + " / 4" ) ) ) ) ||