aboutsummaryrefslogtreecommitdiffstats
path: root/core/cubic_tables.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2023-05-05 06:46:00 -0700
committerChris Robinson <[email protected]>2023-05-05 06:46:00 -0700
commit3ec03cadd2b5059e54e5e9b8f4d506b4c6ce727d (patch)
tree623b8e96f8acca9d55fb96b74e8d832877b27451 /core/cubic_tables.cpp
parentc14ca5f3aa6da354440a60656062f6bc68d6fca6 (diff)
Use deduction guides instead of helper functions for spans
Diffstat (limited to 'core/cubic_tables.cpp')
-rw-r--r--core/cubic_tables.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/cubic_tables.cpp b/core/cubic_tables.cpp
index 73ec6b3f..66958735 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 auto getTable() const noexcept { return al::as_span(mTable); }
+ constexpr auto& getTable() const noexcept { return mTable; }
};
constexpr SplineFilterArray SplineFilter{};