From b62a6d0d1d47acc3d81176d8a02719b3cc6ee49c Mon Sep 17 00:00:00 2001 From: TheComet <3390890+TheComet@users.noreply.github.com> Date: Sun, 25 May 2025 23:40:36 +0200 Subject: [PATCH] Make public function definition inline (#1106) Co-authored-by: John Wellbelove --- include/etl/error_handler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/etl/error_handler.h b/include/etl/error_handler.h index f0c60be6..ca417ae7 100644 --- a/include/etl/error_handler.h +++ b/include/etl/error_handler.h @@ -282,7 +282,7 @@ namespace etl /// Sets the assert function. /// The argument function signature is void(*)(const etl::exception&) //*************************************************************************** - void set_assert_function(etl::private_error_handler::assert_function_ptr_t afptr) + inline void set_assert_function(etl::private_error_handler::assert_function_ptr_t afptr) { etl::private_error_handler::assert_handler<0>::assert_function_ptr = afptr; }