Skip to content

Commit

Permalink
Move VUH_TRY macros to result.hpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Weckyy702 committed Dec 14, 2022
1 parent 8995de5 commit 2ea84ca
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/include/vuh/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
#include <stdint.h>
#include <vector>

#define VUH_TRY(expression, identifier) \
auto maybe_##identifier = (expression); \
if((maybe_##identifier).result != vk::Result::eSuccess) \
return (maybe_##identifier).result; \
auto identifier = std::move((maybe_##identifier).value)


namespace vuh {
/// Typelist. That is all about it.
template<class... Ts> struct typelist{};
Expand Down

0 comments on commit 2ea84ca

Please sign in to comment.