diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 1e8949c..e78726b 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -3227,7 +3227,7 @@ std::string VulkanHppGenerator::generateCommandResultGetTwoValues( std::string c { std::string const functionTemplate = R"( template - ${nodiscard}VULKAN_HPP_INLINE typename ResultValue> ${className}${classSeparator}${commandName}( ${argumentList} )${const} + ${nodiscard}VULKAN_HPP_INLINE ResultValue> ${className}${classSeparator}${commandName}( ${argumentList} )${const} { VULKAN_HPP_ASSERT( d.getVkHeaderVersion() == VK_HEADER_VERSION ); std::pair<${firstReturnType}, ${secondReturnType}> returnValue; @@ -3259,7 +3259,7 @@ std::string VulkanHppGenerator::generateCommandResultGetTwoValues( std::string c { std::string const functionTemplate = R"( template - ${nodiscard}typename ResultValue> ${commandName}( ${argumentList} )${const};)"; + ${nodiscard}ResultValue> ${commandName}( ${argumentList} )${const};)"; return replaceWithMap( functionTemplate, { { "argumentList", argumentList },