Skip to content

Commit

Permalink
Remove std::ranges usage
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadhr committed Oct 25, 2023
1 parent 9ff34dd commit e8bb4ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion VulkanHppGenerator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5051,7 +5051,7 @@ std::string VulkanHppGenerator::generateConstexprDefines() const
if ( extension.promotedTo.starts_with( "VK_VERSION_" ) )
{
auto version = stripPrefix( extension.promotedTo, "VK_VERSION_" );
std::ranges::replace( version, '_', '.' );
std::replace( version.begin(), version.end(), '_', '.' );
deprecationMessage = replaceWithMap( promotedVersionMessageTemplate, { { "extensionName", extension.name }, { "promotedTo", version } } );
}
else
Expand Down

0 comments on commit e8bb4ee

Please sign in to comment.