From 487876477507038067ad3f019d58c257fc06dfda Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Tue, 9 Aug 2022 22:10:12 +0400 Subject: Add noexcept for C++ --- source/kit_test/test.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/kit_test/test.h') diff --git a/source/kit_test/test.h b/source/kit_test/test.h index f8e79dc..176d957 100644 --- a/source/kit_test/test.h +++ b/source/kit_test/test.h @@ -45,10 +45,10 @@ extern kit_tests_list_t kit_tests_list; #ifdef __cplusplus # define KIT_TEST_ON_START_(f) \ - static void f(void); \ + static void f(void) noexcept; \ static int KIT_TEST_CONCAT3_(_kit_test_init_, __LINE__, \ f) = (f(), 0); \ - static void f(void) + static void f(void) noexcept #else # ifdef _MSC_VER # ifdef __cplusplus -- cgit v1.2.3