From 2ea84ca3c8323885bdde5973f0ceb1dd0646be8a Mon Sep 17 00:00:00 2001 From: Weckyy702 <50154363+Weckyy702@users.noreply.github.com> Date: Wed, 14 Dec 2022 14:08:13 +0100 Subject: [PATCH] Move VUH_TRY macros to result.hpp --- src/include/vuh/utils.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/include/vuh/utils.h b/src/include/vuh/utils.h index 7e2ab6e..2c2c089 100644 --- a/src/include/vuh/utils.h +++ b/src/include/vuh/utils.h @@ -3,13 +3,6 @@ #include #include -#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 struct typelist{};