From f281050ddb3b9d658cff67a254eedc3b79de5c5d Mon Sep 17 00:00:00 2001 From: Dominick Allen Date: Tue, 29 Oct 2024 10:28:11 -0500 Subject: Reduce string size, adopt clang-style SSO. --- include/fud_result.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/fud_result.hpp') diff --git a/include/fud_result.hpp b/include/fud_result.hpp index 95f3e5c..497b007 100644 --- a/include/fud_result.hpp +++ b/include/fud_result.hpp @@ -18,8 +18,8 @@ #ifndef FUD_RESULT_HPP #define FUD_RESULT_HPP -#include #include +#include namespace fud { @@ -159,7 +159,7 @@ class [[nodiscard]] Result { std::variant m_value; }; -#define M_TakeOrReturn(HYGIENE_EXPRESSION) \ +#define M_TakeOrReturn(HYGIENE_EXPRESSION) \ ({ \ auto HYGIENE_RESULT{(HYGIENE_EXPRESSION)}; \ if (HYGIENE_RESULT.isError()) { \ -- cgit v1.2.3