Resolve deprecated-warnings on cpp_type.
This commit is contained in:
committed by
Markus Tavenrath
parent
e83bd40ab5
commit
d0a42307b6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user