clang-format updates

This commit is contained in:
John Wellbelove 2026-06-07 09:26:10 +01:00
parent d7f75479d7
commit 973caa9e8c
2 changed files with 4 additions and 3 deletions

View File

@ -218,7 +218,8 @@ namespace etl
/// Helper function for floating point nan and inf.
//***************************************************************************
template <typename TIString>
void add_nan_inf(const bool not_a_number, const bool infinity, const bool is_negative, TIString& str, const etl::basic_format_spec<TIString>& format)
void add_nan_inf(const bool not_a_number, const bool infinity, const bool is_negative, TIString& str,
const etl::basic_format_spec<TIString>& format)
{
typedef typename TIString::value_type type;
@ -427,7 +428,7 @@ namespace etl
template <typename T, typename TIString>
void add_floating_point(const T value, TIString& str, const etl::basic_format_spec<TIString>& format, const bool append)
{
typedef typename TIString::iterator iterator;
typedef typename TIString::iterator iterator;
if (!append)
{

View File

@ -28,9 +28,9 @@ SOFTWARE.
#include "unit_test_framework.h"
#include <sstream>
#include <iomanip>
#include <ostream>
#include <sstream>
#include "etl/format_spec.h"
#include "etl/string.h"