From 0fa0affc1ad3006e3f3620ecb02307de1be00fe1 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 13 Jun 2026 11:03:03 +0200 Subject: minor fixes --- src/error.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/error.hpp') diff --git a/src/error.hpp b/src/error.hpp index 8a0778c..3a33466 100644 --- a/src/error.hpp +++ b/src/error.hpp @@ -19,6 +19,7 @@ inline Error make(const char* function_name) { return {static_cast(ec), std::system_category(), function_name}; } +[[noreturn]] inline void raise(const char* function_name) { throw make(function_name); } -- cgit v1.3