Merge pull request #940 from asuessenbach/allocateInitializer

Correct capitalization of allocateInitializer used in vector-returning functions with provided allocator.
This commit is contained in:
Andreas Süßenbach 2021-04-19 15:32:39 +02:00 committed by GitHub
commit af2f318722
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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",