From 4d0a7f9b4504dc79454d472f9f355a79bf837800 Mon Sep 17 00:00:00 2001 From: light7734 Date: Wed, 10 Sep 2025 13:16:14 +0330 Subject: [PATCH] fix: compilation error on gcc --- modules/test/public/test.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/test/public/test.hpp b/modules/test/public/test.hpp index 8c15205..c923e88 100644 --- a/modules/test/public/test.hpp +++ b/modules/test/public/test.hpp @@ -119,21 +119,21 @@ struct Case struct TestSuite { template - constexpr TestSuite(TSuite suite) + constexpr TestSuite(TSuite body) { #ifndef LIGHT_SKIP_TESTS - details::Registry::register_suite(+suite); + details::Registry::register_suite(+body); #endif } }; struct TestFuzzHarness { - template - constexpr TestFuzzHarness(TestFuzzHarness suite) + template + constexpr TestFuzzHarness(TestFuzzHarnessBody body) { #ifndef LIGHT_SKIP_FUZZ_TESTS - details::Registry::register_fuzz_harness(+suite); + details::Registry::register_fuzz_harness(+body); #endif } };