Make public function definition inline (#1106)

Co-authored-by: John Wellbelove <jwellbelove@users.noreply.github.com>
This commit is contained in:
TheComet 2025-05-25 23:40:36 +02:00 committed by GitHub
parent 2df0039781
commit b62a6d0d1d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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;
}