diff options
author | Chris Robinson <[email protected]> | 2023-05-05 06:46:00 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2023-05-05 06:46:00 -0700 |
commit | 3ec03cadd2b5059e54e5e9b8f4d506b4c6ce727d (patch) | |
tree | 623b8e96f8acca9d55fb96b74e8d832877b27451 /al/eax/call.h | |
parent | c14ca5f3aa6da354440a60656062f6bc68d6fca6 (diff) |
Use deduction guides instead of helper functions for spans
Diffstat (limited to 'al/eax/call.h')
-rw-r--r-- | al/eax/call.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/al/eax/call.h b/al/eax/call.h index 5ec33b0f..f2ad529e 100644 --- a/al/eax/call.h +++ b/al/eax/call.h @@ -55,7 +55,7 @@ public: fail_too_small(); const auto count = minz(mPropertyBufferSize / sizeof(TValue), max_count); - return al::as_span(static_cast<TValue*>(mPropertyBuffer), count); + return {static_cast<TValue*>(mPropertyBuffer), count}; } template<typename TValue> |