diff options
author | Chris Robinson <[email protected]> | 2023-02-10 01:57:54 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-02-10 01:57:54 -0800 |
commit | eb5e48f133de94e706f67c7d5388e5c45b43f338 (patch) | |
tree | 3cd6d6d13ba631ccfb4f99e723640f7194229aa0 /core/cubic_tables.cpp | |
parent | 1564cfe48f681a75521b32dc908773caf4e8b79b (diff) |
Use a span to hold the cubic table reference
Diffstat (limited to 'core/cubic_tables.cpp')
-rw-r--r-- | core/cubic_tables.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cubic_tables.cpp b/core/cubic_tables.cpp index bdcc0bae..18af3bb3 100644 --- a/core/cubic_tables.cpp +++ b/core/cubic_tables.cpp @@ -49,7 +49,7 @@ struct SplineFilterArray { mTable[pi].mDeltas[3] = -mTable[pi].mCoeffs[3]; } - constexpr const CubicCoefficients *getTable() const noexcept { return mTable; } + constexpr auto getTable() const noexcept { return al::as_span(mTable); } }; constexpr SplineFilterArray SplineFilter{}; |