From fa0fe9aee68c429973e2f03d4dab19ce8c530587 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 6 Aug 2026 11:05:02 +0100 Subject: [PATCH] refactor: add [[noreturn]] attribute to execute_child --- cpp-subprocess/subprocess.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp-subprocess/subprocess.hpp b/cpp-subprocess/subprocess.hpp index cc3ed96..d2a76d3 100644 --- a/cpp-subprocess/subprocess.hpp +++ b/cpp-subprocess/subprocess.hpp @@ -1183,7 +1183,7 @@ class Child err_wr_pipe_(err_wr_pipe) {} - void execute_child(); + [[noreturn]] void execute_child(); private: // Lets call it parent even though