mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2025-01-05 23:11:06 +00:00
Resolve deprecated-warnings on cpp_type.
This commit is contained in:
parent
e83bd40ab5
commit
d0a42307b6
@ -1 +1 @@
|
||||
Subproject commit 9d2dfca53b754dd3ab916899fed567a5290c30aa
|
||||
Subproject commit f31524575668c6c483356bd54ca974590e31be8e
|
@ -1807,7 +1807,7 @@ void VulkanHppGenerator::appendEnums( std::string & str ) const
|
||||
{
|
||||
str += R"(
|
||||
template<ObjectType value>
|
||||
struct VULKAN_HPP_DEPRECATED("vk::cpp_type is deprecated. Use vk::CppType instead.") cpp_type
|
||||
struct cpp_type
|
||||
{};
|
||||
)";
|
||||
}
|
||||
|
@ -52,7 +52,7 @@
|
||||
# include <compare>
|
||||
#endif
|
||||
|
||||
static_assert( VK_HEADER_VERSION == 143, "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 144, "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
@ -7544,7 +7544,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
|
||||
template <ObjectType value>
|
||||
struct VULKAN_HPP_DEPRECATED( "vk::cpp_type is deprecated. Use vk::CppType instead." ) cpp_type
|
||||
struct cpp_type
|
||||
{};
|
||||
|
||||
enum class PeerMemoryFeatureFlagBits : VkPeerMemoryFeatureFlags
|
||||
|
Loading…
Reference in New Issue
Block a user