From 973caa9e8c3cc9d83f00bbc693cfe814ea761928 Mon Sep 17 00:00:00 2001 From: John Wellbelove Date: Sun, 7 Jun 2026 09:26:10 +0100 Subject: [PATCH] clang-format updates --- include/etl/private/to_string_helper.h | 5 +++-- test/test_to_string.cpp | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/include/etl/private/to_string_helper.h b/include/etl/private/to_string_helper.h index 60869664..e3e565a0 100644 --- a/include/etl/private/to_string_helper.h +++ b/include/etl/private/to_string_helper.h @@ -218,7 +218,8 @@ namespace etl /// Helper function for floating point nan and inf. //*************************************************************************** template - void add_nan_inf(const bool not_a_number, const bool infinity, const bool is_negative, TIString& str, const etl::basic_format_spec& format) + void add_nan_inf(const bool not_a_number, const bool infinity, const bool is_negative, TIString& str, + const etl::basic_format_spec& format) { typedef typename TIString::value_type type; @@ -427,7 +428,7 @@ namespace etl template void add_floating_point(const T value, TIString& str, const etl::basic_format_spec& format, const bool append) { - typedef typename TIString::iterator iterator; + typedef typename TIString::iterator iterator; if (!append) { diff --git a/test/test_to_string.cpp b/test/test_to_string.cpp index df174100..3bc48283 100644 --- a/test/test_to_string.cpp +++ b/test/test_to_string.cpp @@ -28,9 +28,9 @@ SOFTWARE. #include "unit_test_framework.h" -#include #include #include +#include #include "etl/format_spec.h" #include "etl/string.h"