Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test_vulkan: don't throw from destructors (#1947)
Only report an error (and include the error code), but don't throw an exception as that would call `terminate`. Failure to release resources is not fatal in other parts of the CTS. This fixes `-Wterminate` warnings: warning: ‘throw’ will always call ‘terminate’ [-Wterminate] note: in C++11 destructors default to ‘noexcept’ Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
- Loading branch information