From c6111eaf61e3c3c59b51e2adaec2cfac64765e27 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Fri, 27 Jan 2023 05:27:49 +0100 Subject: [PATCH] [dxvk] Fix small_vector size Kind of harmless since we're not using this much. --- src/util/util_small_vector.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/util_small_vector.h b/src/util/util_small_vector.h index daf5bedb..3302f1c5 100644 --- a/src/util/util_small_vector.h +++ b/src/util/util_small_vector.h @@ -106,7 +106,7 @@ namespace dxvk { union { storage* m_ptr; - storage m_data[sizeof(T) * N]; + storage m_data[N]; } u; size_t pick_capacity(size_t n) {