apply formatting with clang 13
Signed-off-by: FoundationDB CI <foundationdb_ci@apple.com>
This commit is contained in:
parent
885a2a9332
commit
e02dbe1a52
|
@ -449,7 +449,7 @@ RAPIDJSON_NAMESPACE_END
|
|||
*/
|
||||
#define RAPIDJSON_STATIC_ASSERT(x) \
|
||||
typedef ::RAPIDJSON_NAMESPACE::StaticAssertTest<sizeof(::RAPIDJSON_NAMESPACE::STATIC_ASSERTION_FAILURE<bool(x)>)> \
|
||||
RAPIDJSON_JOIN(StaticAssertTypedef, __LINE__) RAPIDJSON_STATIC_ASSERT_UNUSED_ATTRIBUTE
|
||||
RAPIDJSON_JOIN(StaticAssertTypedef, __LINE__) RAPIDJSON_STATIC_ASSERT_UNUSED_ATTRIBUTE
|
||||
#endif
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -343,11 +343,11 @@ auto tuple_map_impl(F f, index_sequence<Is...>, const Tuples&... ts)
|
|||
|
||||
// tuple_map( f(a,b), (a1,a2,a3), (b1,b2,b3) ) = (f(a1,b1), f(a2,b2), f(a3,b3))
|
||||
template <typename F, typename Tuple, typename... Tuples>
|
||||
auto tuple_map(F f, const Tuple& t, const Tuples&... ts) -> decltype(
|
||||
tuple_map_impl(f,
|
||||
typename make_index_sequence_impl<0, index_sequence<>, std::tuple_size<Tuple>::value>::type(),
|
||||
t,
|
||||
ts...)) {
|
||||
auto tuple_map(F f, const Tuple& t, const Tuples&... ts) -> decltype(tuple_map_impl(
|
||||
f,
|
||||
typename make_index_sequence_impl<0, index_sequence<>, std::tuple_size<Tuple>::value>::type(),
|
||||
t,
|
||||
ts...)) {
|
||||
return tuple_map_impl(
|
||||
f, typename make_index_sequence_impl<0, index_sequence<>, std::tuple_size<Tuple>::value>::type(), t, ts...);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue