Fix wrong template argument in usage of ObjectDeleter for the create*Unique functions. (#184)

This commit is contained in:
Andreas Süßenbach
2018-02-19 10:44:51 +01:00
committed by Markus Tavenrath
parent 56f418b41c
commit ecea796604
2 changed files with 4 additions and 4 deletions

View File

@@ -3189,7 +3189,7 @@ ${i} return createResultValue( result, ${typeVariable}s, "VULKAN_HPP_NAMESPACE:
{ "command", startUpperCase(commandData.fullName) },
{ "arguments", arguments.str() },
{ "Deleter", ddit->second.pool.empty() ? "ObjectDeleter" : "PoolDeleter" },
{ "DeleterTemplate", ddit->second.pool.empty() ? type : commandData.className + "," + ddit->second.pool },
{ "DeleterTemplate", ddit->second.pool.empty() ? commandData.className : commandData.className + "," + ddit->second.pool },
{ "deleterArg", ddit->second.pool.empty() ? "allocator" : "allocateInfo." + startLowerCase(ddit->second.pool) },
{ "class", commandData.className },
{ "function", commandData.reducedName }