@@ -12,7 +12,7 @@ int main()
12
12
13
13
" arithmetic_to_fixed integrals" _test = [&result]
14
14
{
15
- auto fn_tmpl = [] -> metatests::test_result
15
+ auto fn_tmpl = []() -> metatests::test_result
16
16
{
17
17
expect_eq (arithmetic_to_fixed (0 ), 0_fix);
18
18
expect_eq (arithmetic_to_fixed (1 ), limits_::one ());
@@ -39,7 +39,7 @@ int main()
39
39
40
40
" arithmetic_to_fixed floating point" _test = [&result]
41
41
{
42
- auto fn_tmpl = [] -> metatests::test_result
42
+ auto fn_tmpl = []() -> metatests::test_result
43
43
{
44
44
expect_eq (arithmetic_to_fixed (0 .f ), 0_fix);
45
45
expect_eq (arithmetic_to_fixed (-1 .f ), -limits_::one ());
@@ -79,7 +79,7 @@ int main()
79
79
80
80
" fixed_to_arithmetic integrals" _test = [&result]
81
81
{
82
- auto fn_tmpl = [] -> metatests::test_result
82
+ auto fn_tmpl = []() -> metatests::test_result
83
83
{
84
84
expect_eq (fixed_to_arithmetic<int >(0 .25_fix), 0 );
85
85
expect_eq (fixed_to_arithmetic<int >(1 .25_fix), 1 );
@@ -93,7 +93,7 @@ int main()
93
93
};
94
94
" fixed_to_arithmetic floating point" _test = [&result]
95
95
{
96
- auto fn_tmpl = [] -> metatests::test_result
96
+ auto fn_tmpl = []() -> metatests::test_result
97
97
{
98
98
{
99
99
static constexpr auto approx{std::numeric_limits<float >::epsilon ()};
0 commit comments