From c4dc6bef24781f253eba9176a986f5f2ecd28299 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 13 Oct 2019 18:31:09 -0700 Subject: [PATCH] Apply clang-format --- include/fmt/core.h | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/include/fmt/core.h b/include/fmt/core.h index 8a2a05c2..1eae83e5 100644 --- a/include/fmt/core.h +++ b/include/fmt/core.h @@ -832,11 +832,12 @@ template struct arg_mapper { FMT_CONSTEXPR basic_string_view map(const T& val) { return basic_string_view(val); } - template , T>::value && - !std::is_constructible, T>::value && - !is_string::value)> + template < + typename T, + FMT_ENABLE_IF( + std::is_constructible, T>::value && + !std::is_constructible, T>::value && + !is_string::value)> FMT_CONSTEXPR basic_string_view map(const T& val) { return std_string_view(val); } @@ -1208,7 +1209,8 @@ template class basic_format_args { internal::type type(int index) const { int shift = index * internal::packed_arg_bitsize; - return static_cast((types_ >> shift) & internal::packed_arg_mask); + return static_cast((types_ >> shift) & + internal::packed_arg_mask); } friend class internal::arg_map;