Quick fixes

This commit is contained in:
John Wellbelove 2026-06-06 15:46:29 +01:00
parent 32b2919d65
commit a983b7177b
2 changed files with 3 additions and 4 deletions

View File

@ -248,7 +248,7 @@ namespace etl
left_justified_ = false;
boolalpha_ = false;
show_base_ = false;
scientific = false;
scientific_ = false;
fill_ = typename TString::value_type(' ');
}
@ -597,7 +597,7 @@ namespace etl
{
return (lhs.base_ == rhs.base_) && (lhs.width_ == rhs.width_) && (lhs.precision_ == rhs.precision_) && (lhs.upper_case_ == rhs.upper_case_)
&& (lhs.left_justified_ == rhs.left_justified_) && (lhs.boolalpha_ == rhs.boolalpha_) && (lhs.show_base_ == rhs.show_base_)
&& (lhs.fill_ == rhs.fill_);
&& (lhs.fill_ == rhs.fill_) && (lhs.scientific_ == rhs.scientific_);
}
//***************************************************************************

View File

@ -422,8 +422,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::value_type type;
typedef typename TIString::iterator iterator;
if (!append)
{