aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/loadsofa.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-23 01:32:27 -0800
committerChris Robinson <[email protected]>2023-01-23 01:32:27 -0800
commit1ca27df39cc7605b55ffd73cab93f6a174b8d421 (patch)
tree868c57201f009a04349ccc6446597d594697e91b /utils/makemhr/loadsofa.cpp
parent952446ec11422bbb7e9fee2c3f35cb68aaf68fd2 (diff)
Use a span instead of pointer+count
Diffstat (limited to 'utils/makemhr/loadsofa.cpp')
-rw-r--r--utils/makemhr/loadsofa.cpp2
1 files changed, 1 insertions, 1 deletions
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);
}