mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-26 05:40:07 +00:00
Fix issue mentioned in PR #137. There's no technical reason not to allow vk::UniquePtr with exceptions are disabled. (#142)
This commit is contained in:
parent
cb55e77f53
commit
e464d695dd
@ -572,10 +572,6 @@ const std::string createResultValueHeader = R"(
|
||||
)";
|
||||
|
||||
const std::string uniqueHandleHeader = R"(
|
||||
#if defined(VULKAN_HPP_NO_EXCEPTIONS) && !defined(VULKAN_HPP_NO_SMART_HANDLE)
|
||||
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||
#endif
|
||||
|
||||
#ifndef VULKAN_HPP_NO_SMART_HANDLE
|
||||
template <typename Type, typename Deleter>
|
||||
class UniqueHandle
|
||||
|
@ -322,10 +322,6 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
#endif
|
||||
|
||||
#if defined(VULKAN_HPP_NO_EXCEPTIONS) && !defined(VULKAN_HPP_NO_SMART_HANDLE)
|
||||
# define VULKAN_HPP_NO_SMART_HANDLE
|
||||
#endif
|
||||
|
||||
#ifndef VULKAN_HPP_NO_SMART_HANDLE
|
||||
template <typename Type, typename Deleter>
|
||||
class UniqueHandle
|
||||
|
Loading…
Reference in New Issue
Block a user