Add is_error_code_enum only if VULKAN_HPP_NO_EXCEPTIONS is not defined. (#471)
This commit is contained in:
committed by
Markus Tavenrath
parent
4320950db1
commit
0b3af1ee76
@@ -11964,12 +11964,14 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
#endif /*VK_USE_PLATFORM_XLIB_KHR*/
|
||||
} // namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
#ifndef VULKAN_HPP_NO_EXCEPTIONS
|
||||
namespace std
|
||||
{
|
||||
template <>
|
||||
struct is_error_code_enum<VULKAN_HPP_NAMESPACE::Result> : public true_type
|
||||
{};
|
||||
}
|
||||
#endif
|
||||
|
||||
namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user