aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMatthew Gregan <[email protected]>2022-03-09 14:59:29 +1300
committerMatthew Gregan <[email protected]>2022-03-09 14:59:29 +1300
commita5eabe6a19bd673345164af18d5f4d2f89c98a50 (patch)
treef1dc8afb25f1838e9a08bca8ceee7af0d373159e
parent662ed79f6082bc0f15cafbc37ae8df77516984fb (diff)
downloadcubeb-a5eabe6a19bd673345164af18d5f4d2f89c98a50.tar.gz
cubeb-a5eabe6a19bd673345164af18d5f4d2f89c98a50.zip
wasapi: Fix formatting.
-rw-r--r--src/cubeb_wasapi.cpp4
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;
}