Skip to content

Commit f698a91

Browse files
author
Hans-Martin B. Jensen
committed
Apply clang format
1 parent 53c5bd7 commit f698a91

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

include/fmt/xchar.h

+7-6
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,8 @@ template <typename OutputIt, typename S, typename... T,
188188
typename Char = detail::format_string_char_t<S>,
189189
FMT_ENABLE_IF(detail::is_output_iterator<OutputIt, Char>::value&&
190190
detail::is_exotic_char<Char>::value)>
191-
inline auto format_to(OutputIt out, const S& format_str, T&&... args) -> OutputIt {
191+
inline auto format_to(OutputIt out, const S& format_str, T&&... args)
192+
-> OutputIt {
192193
return vformat_to(out, fmt::basic_string_view<Char>(format_str),
193194
fmt::make_format_args<buffered_context<Char>>(args...));
194195
}
@@ -207,11 +208,11 @@ inline auto vformat_to(OutputIt out, const Locale& loc, const S& format_str,
207208
return detail::get_iterator(buf, out);
208209
}
209210

210-
template <typename OutputIt, typename Locale, typename S, typename... T,
211-
typename Char = detail::format_string_char_t<S>,
212-
bool enable = detail::is_output_iterator<OutputIt, Char>::value &&
213-
detail::is_locale<Locale>::value &&
214-
detail::is_exotic_char<Char>::value>
211+
template <
212+
typename OutputIt, typename Locale, typename S, typename... T,
213+
typename Char = detail::format_string_char_t<S>,
214+
bool enable = detail::is_output_iterator<OutputIt, Char>::value&&
215+
detail::is_locale<Locale>::value&& detail::is_exotic_char<Char>::value>
215216
inline auto format_to(OutputIt out, const Locale& loc, const S& format_str,
216217
T&&... args) ->
217218
typename std::enable_if<enable, OutputIt>::type {

0 commit comments

Comments
 (0)