From e7c61b2faf8830f7a2701318f7899c3c927a3d0a Mon Sep 17 00:00:00 2001 From: light7734 Date: Mon, 6 Oct 2025 12:24:31 +0330 Subject: [PATCH] refactor(test): remove constexpr from throwing function --- modules/test/public/expects.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/test/public/expects.hpp b/modules/test/public/expects.hpp index 35acc6a..1240d64 100644 --- a/modules/test/public/expects.hpp +++ b/modules/test/public/expects.hpp @@ -19,7 +19,7 @@ concept Printable = Formattable || requires(std::ostream &stream, T value) { template concept Testable = Printable && std::equality_comparable; -constexpr void expect_unreachable( +inline void expect_unreachable( std::source_location source_location = std::source_location::current() ) {