diff --git a/src/utils/PastisAssert.hpp b/src/utils/PastisAssert.hpp index c2f2ee440cbb5ec701a6ef8f1759611b9d3f9387..5093a44c21547709dce73cdea1e48015afb90e0a 100644 --- a/src/utils/PastisAssert.hpp +++ b/src/utils/PastisAssert.hpp @@ -88,11 +88,11 @@ PRAGMA_DIAGNOSTIC_POP static_assert(std::tuple_size_v<vargs_t> <= 1, \ "too many arguments"); \ if constexpr(std::tuple_size_v<vargs_t> == 0) { \ - printAndThrow(AssertError(__FILE__, \ - __LINE__, \ - __PRETTY_FUNCTION__, \ - #assertion)); \ - } else { \ + printAndThrow(AssertError(__FILE__, \ + __LINE__, \ + __PRETTY_FUNCTION__, \ + #assertion)); \ + } else { \ printAndThrow(AssertError(__FILE__, \ __LINE__, \ __PRETTY_FUNCTION__, \