From 8320b691f77d6e85f0207a2e8ef0e3ea49d0ec9d Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Wed, 29 May 2024 09:08:59 -0500 Subject: [PATCH] Rename parameter in enable_extension_features_if_present Prevents shadowing warnings from annoying users. --- src/VkBootstrap.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/VkBootstrap.h b/src/VkBootstrap.h index c05fb49..e6d45a5 100644 --- a/src/VkBootstrap.h +++ b/src/VkBootstrap.h @@ -542,8 +542,8 @@ struct PhysicalDevice { // If the features from the provided features struct are all present, make all of the features be enable on the // device. Returns true all of the features are present. - template bool enable_extension_features_if_present(T const& features) { - return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features)); + template bool enable_extension_features_if_present(T const& features_check) { + return enable_features_node_if_present(detail::GenericFeaturesPNextNode(features_check)); } // A conversion function which allows this PhysicalDevice to be used