From 18f64dac8d25d84108087e7fc423e935833830c1 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Sat, 19 Oct 2019 02:06:07 -0400 Subject: [PATCH] rstl: Amend unrelated clang-format discrepancies Avoids others being hit by these if any changes in the header ever need to be made in the future. --- Runtime/rstl.hpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Runtime/rstl.hpp b/Runtime/rstl.hpp index d6321e488..c7f6135f1 100644 --- a/Runtime/rstl.hpp +++ b/Runtime/rstl.hpp @@ -267,15 +267,13 @@ private: } template static void - destroy(Tp& t, std::enable_if_t || std::is_trivially_destructible_v>* = nullptr) { - } + destroy(Tp& t, std::enable_if_t || std::is_trivially_destructible_v>* = nullptr) {} public: reserved_vector() noexcept(std::is_nothrow_constructible_v) : x0_size(0) {} template - reserved_vector(const T (&l)[LN]) noexcept(std::is_nothrow_copy_constructible_v) - : x0_size(LN) { + reserved_vector(const T (&l)[LN]) noexcept(std::is_nothrow_copy_constructible_v) : x0_size(LN) { static_assert(LN <= N, "initializer array too large for reserved_vector"); for (size_t i = 0; i < LN; ++i) { ::new (static_cast(std::addressof(_value(i)))) T(l[i]);