Merge pull request #719 from asuessenbach/assert

Remove superfluous assertion.
This commit is contained in:
Andreas Süßenbach 2020-08-19 09:21:03 +02:00 committed by GitHub
commit 24e03938c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2740,7 +2740,6 @@ void VulkanHppGenerator::appendFunctionHeaderArgumentEnhancedPointer( std::strin
stripPrefix( param.type.type, "Vk" ) + "> " + strippedParameterName;
if ( withDefaults && !withAllocator )
{
assert( param.type.type == "VkAllocationCallbacks" );
str += " VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT";
}
}