From 09cbbc30cff596c2741085683b6b1ed4a05d84c6 Mon Sep 17 00:00:00 2001 From: Anders Jenbo Date: Thu, 12 Aug 2021 00:26:03 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8=20format=20autofill=5Farray.h?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/utils/autofill_array.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/Source/utils/autofill_array.h b/Source/utils/autofill_array.h index 4dc55aa2e..dea6b6a47 100644 --- a/Source/utils/autofill_array.h +++ b/Source/utils/autofill_array.h @@ -4,9 +4,8 @@ namespace devilution { -template -struct AutofillArray: public std::array -{ +template +struct AutofillArray : public std::array { using std::array::array; explicit AutofillArray(T x) @@ -15,13 +14,13 @@ struct AutofillArray: public std::array } AutofillArray() - : AutofillArray(0) + : AutofillArray(0) { } - template - AutofillArray(const T &x, const Xs &... xs) - : std::array({ x, static_cast(xs)... }) + template + AutofillArray(const T &x, const Xs &...xs) + : std::array({ x, static_cast(xs)... }) { } };