diff options
author | Matthew Gregan <[email protected]> | 2022-03-09 14:59:29 +1300 |
---|---|---|
committer | Matthew Gregan <[email protected]> | 2022-03-09 14:59:29 +1300 |
commit | a5eabe6a19bd673345164af18d5f4d2f89c98a50 (patch) | |
tree | f1dc8afb25f1838e9a08bca8ceee7af0d373159e /src/cubeb_wasapi.cpp | |
parent | 662ed79f6082bc0f15cafbc37ae8df77516984fb (diff) | |
download | cubeb-a5eabe6a19bd673345164af18d5f4d2f89c98a50.tar.gz cubeb-a5eabe6a19bd673345164af18d5f4d2f89c98a50.zip |
wasapi: Fix formatting.
Diffstat (limited to 'src/cubeb_wasapi.cpp')
-rw-r--r-- | src/cubeb_wasapi.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cubeb_wasapi.cpp b/src/cubeb_wasapi.cpp index 71b3c6f..4dae4c6 100644 --- a/src/cubeb_wasapi.cpp +++ b/src/cubeb_wasapi.cpp @@ -103,9 +103,7 @@ struct com_heap_ptr_deleter { template <typename T> using com_heap_ptr = std::unique_ptr<T, com_heap_ptr_deleter>; -template <typename T, size_t N> -constexpr size_t -ARRAY_LENGTH(T (&)[N]) +template <typename T, size_t N> constexpr size_t ARRAY_LENGTH(T (&)[N]) { return N; } |