From fa9590f63f995ed5703e2ef3a88ba7fc8e764dc3 Mon Sep 17 00:00:00 2001 From: Avi Kivity Date: Sun, 30 Aug 2026 18:16:33 +0300 Subject: [PATCH] Apply clang-format to enum.h (#4905) Recent changes moved away from the blessed layout. --- include/fmt/enum.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/fmt/enum.h b/include/fmt/enum.h index ad863a7f..ad3a27cd 100644 --- a/include/fmt/enum.h +++ b/include/fmt/enum.h @@ -163,7 +163,8 @@ inline constexpr auto identifier_map = make_identifier_map(); // Returns the identifier of the first enumerator of E equal to value or an // empty string view if there is no such enumerator. -template constexpr auto identifier_of(E value) -> std::string_view { +template +constexpr auto identifier_of(E value) -> std::string_view { constexpr size_t table_size = identifier_table_size(); if constexpr (table_size != 0) { // Values outside of the table wrap around and are rejected by the check.