tests: remove all -Wall warnings

This commit is contained in:
Andrzej Krzemienski
2026-02-25 22:49:18 +01:00
parent ff710d113c
commit ecb241a919
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -45,6 +45,8 @@ void test_optional_of_superconverting_T() // compile-time test
superconv<optional<int> > s;
superconv<optional<int> > & rs = s;
optional<superconv<optional<int> > > os = rs;
(void)s;
(void)os;
#endif
}
+2 -2
View File
@@ -111,10 +111,10 @@ template <typename CharT>
struct basic_formatter
{
template< typename FunT >
basic_formatter(FunT&& fun) {}
basic_formatter(FunT&&) {}
template< typename FunT >
basic_formatter& operator= (FunT&& fun)
basic_formatter& operator= (FunT&&)
{
return *this;
}