Remove superfluous assertion.

This commit is contained in:
asuessenbach 2020-08-19 09:00:10 +02:00
parent f6baa59a76
commit f168fe6931

View File

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