mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Fix vector constructor argument in generateCommandResultEnumerateChained()
This commit is contained in:
parent
f727d2a43c
commit
bb7e7b3089
@ -2964,7 +2964,7 @@ std::string
|
|||||||
${nodiscard}VULKAN_HPP_INLINE std::vector<StructureChain, StructureChainAllocator> ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
${nodiscard}VULKAN_HPP_INLINE std::vector<StructureChain, StructureChainAllocator> ${className}${classSeparator}${commandName}( ${argumentList} )${const}
|
||||||
{
|
{
|
||||||
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION );
|
||||||
std::vector<StructureChain, StructureChainAllocator> returnVector(${structureChainAllocator});
|
std::vector<StructureChain, StructureChainAllocator> returnVector${structureChainAllocator};
|
||||||
std::vector<${vectorElementType}> ${vectorName};
|
std::vector<${vectorElementType}> ${vectorName};
|
||||||
${counterType} ${counterName};
|
${counterType} ${counterName};
|
||||||
Result result;
|
Result result;
|
||||||
@ -3015,7 +3015,7 @@ std::string
|
|||||||
{ "firstCallArguments", generateCallArgumentsEnhanced( commandData, initialSkipCount, true, {}, false ) },
|
{ "firstCallArguments", generateCallArgumentsEnhanced( commandData, initialSkipCount, true, {}, false ) },
|
||||||
{ "nodiscard", nodiscard },
|
{ "nodiscard", nodiscard },
|
||||||
{ "secondCallArguments", generateCallArgumentsEnhanced( commandData, initialSkipCount, false, {}, false ) },
|
{ "secondCallArguments", generateCallArgumentsEnhanced( commandData, initialSkipCount, false, {}, false ) },
|
||||||
{ "structureChainAllocator", withAllocator ? ( " structureChainAllocator " ) : "" },
|
{ "structureChainAllocator", withAllocator ? ( "( structureChainAllocator )" ) : "" },
|
||||||
{ "typenameCheck", typenameCheck },
|
{ "typenameCheck", typenameCheck },
|
||||||
{ "vectorElementType", vectorElementType },
|
{ "vectorElementType", vectorElementType },
|
||||||
{ "vectorName", startLowerCase( stripPrefix( commandData.params[vectorParamIndex.first].name, "p" ) ) },
|
{ "vectorName", startLowerCase( stripPrefix( commandData.params[vectorParamIndex.first].name, "p" ) ) },
|
||||||
|
Loading…
Reference in New Issue
Block a user