From 0de7ea42fa197833bff70b4c370ed29f9859889d Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 6 Feb 2023 12:35:51 -0800 Subject: Avoid using auto for lambda parameters --- utils/makemhr/makemhr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/makemhr/makemhr.cpp') diff --git a/utils/makemhr/makemhr.cpp b/utils/makemhr/makemhr.cpp index 6cf3076d..ae301dc3 100644 --- a/utils/makemhr/makemhr.cpp +++ b/utils/makemhr/makemhr.cpp @@ -1019,7 +1019,7 @@ static void NormalizeHrirs(HrirDataT *hData) /* Now scale all IRs by the given factor. */ auto proc_channel = [irSize,factor](double *ir) - { std::transform(ir, ir+irSize, ir, [factor](auto s){ return s * factor; }); }; + { std::transform(ir, ir+irSize, ir, [factor](double s){ return s * factor; }); }; auto proc_azi = [channels,proc_channel](HrirAzT &azi) { std::for_each(azi.mIrs, azi.mIrs+channels, proc_channel); }; auto proc_elev = [proc_azi](HrirEvT &elev) -- cgit v1.2.3