aboutsummaryrefslogtreecommitdiffstats
path: root/utils/makemhr/makemhr.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-01-23 02:43:29 -0800
committerChris Robinson <[email protected]>2023-01-23 02:43:29 -0800
commitf3b45f035dba3fb3d40be2134c44cdfa617248af (patch)
treec31a033986a7818e886a191a932211826a0e7391 /utils/makemhr/makemhr.h
parentfa71a8794a3b66dac82c04caa27f8bb2fd037883 (diff)
Replace a couple more pointer+count with a span
Diffstat (limited to 'utils/makemhr/makemhr.h')
-rw-r--r--utils/makemhr/makemhr.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/utils/makemhr/makemhr.h b/utils/makemhr/makemhr.h
index 3554f9a7..13b5b2d1 100644
--- a/utils/makemhr/makemhr.h
+++ b/utils/makemhr/makemhr.h
@@ -74,15 +74,13 @@ struct HrirAzT {
struct HrirEvT {
double mElevation{0.0};
- uint mAzCount{0u};
- HrirAzT *mAzs{nullptr};
+ al::span<HrirAzT> mAzs;
};
struct HrirFdT {
double mDistance{0.0};
- uint mEvCount{0u};
uint mEvStart{0u};
- HrirEvT *mEvs{nullptr};
+ al::span<HrirEvT> mEvs;
};
// The HRIR metrics and data set used when loading, processing, and storing