From 1ca27df39cc7605b55ffd73cab93f6a174b8d421 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 23 Jan 2023 01:32:27 -0800 Subject: Use a span instead of pointer+count --- utils/makemhr/loadsofa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/makemhr/loadsofa.cpp') diff --git a/utils/makemhr/loadsofa.cpp b/utils/makemhr/loadsofa.cpp index 9bcb6316..f175ecc4 100644 --- a/utils/makemhr/loadsofa.cpp +++ b/utils/makemhr/loadsofa.cpp @@ -86,7 +86,7 @@ static bool PrepareLayout(const uint m, const float *xyzs, HrirDataT *hData) ++fi; } fprintf(stdout, "Using %u of %u IRs.\n", ir_total, m); - return PrepareHrirData(fi, distances, evCounts, azCounts.data(), hData) != 0; + return PrepareHrirData({distances, fi}, evCounts, azCounts.data(), hData); } -- cgit v1.2.3