bracket the exception definitions by "#ifndef VULKAN_HPP_NO_EXCEPTIONS" (#114)
This commit is contained in:
committed by
Markus Tavenrath
parent
c71fcac937
commit
195479de01
@@ -498,7 +498,7 @@ namespace vk
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
#ifndef VULKAN_HPP_NO_EXCEPTIONS
|
||||
#if defined(_MSC_VER) && (_MSC_VER == 1800)
|
||||
# define noexcept _NOEXCEPT
|
||||
#endif
|
||||
@@ -767,7 +767,7 @@ namespace vk
|
||||
default: throw SystemError( make_error_code( result ) );
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
} // namespace vk
|
||||
|
||||
namespace std
|
||||
|
||||
Reference in New Issue
Block a user