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

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";
} }
} }