From 1b967ad2edd9d1f6b06cbc939c7c143f3c6fb7e4 Mon Sep 17 00:00:00 2001 From: Seokjin Lee Date: Wed, 12 Aug 2020 13:13:33 +0900 Subject: [PATCH] Apply clang-format --- include/fmt/compile.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/compile.h b/include/fmt/compile.h index b9f4e8dc..fa0b2812 100644 --- a/include/fmt/compile.h +++ b/include/fmt/compile.h @@ -368,7 +368,8 @@ template struct type_list {}; // Returns a reference to the argument at index N from [first, rest...]. template -constexpr const auto& get([[maybe_unused]] const T& first, [[maybe_unused]] const Args&... rest) { +constexpr const auto& get([[maybe_unused]] const T& first, + [[maybe_unused]] const Args&... rest) { static_assert(N < 1 + sizeof...(Args), "index is out of bounds"); if constexpr (N == 0) return first;