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:
Markus Tavenrath 2017-10-24 16:35:31 +02:00 committed by GitHub
parent cb55e77f53
commit e464d695dd
2 changed files with 0 additions and 8 deletions

View File

@ -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

View File

@ -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