mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 13:40:08 +00:00
Merge pull request #940 from asuessenbach/allocateInitializer
Correct capitalization of allocateInitializer used in vector-returning functions with provided allocator.
This commit is contained in:
commit
af2f318722
@ -5263,7 +5263,7 @@ std::string VulkanHppGenerator::constructCommandResultGetVector( std::string con
|
||||
|
||||
return replaceWithMap(
|
||||
functionTemplate,
|
||||
{ { "allocateInitializer", withAllocator ? ( ", " + vectorElementType + "Allocator" ) : "" },
|
||||
{ { "allocateInitializer", withAllocator ? ( ", " + startLowerCase( allocatorType ) ) : "" },
|
||||
{ "allocatorType", allocatorType },
|
||||
{ "argumentList", argumentList },
|
||||
{ "callArguments",
|
||||
@ -5355,7 +5355,7 @@ std::string
|
||||
|
||||
return replaceWithMap(
|
||||
functionTemplate,
|
||||
{ { "allocateInitializer", withAllocator ? ( ", " + vectorElementType + "Allocator" ) : "" },
|
||||
{ { "allocateInitializer", withAllocator ? ( ", " + startLowerCase( allocatorType ) ) : "" },
|
||||
{ "allocatorType", allocatorType },
|
||||
{ "argumentList", argumentList },
|
||||
{ "callArguments",
|
||||
|
Loading…
Reference in New Issue
Block a user