Skip to content

Commit 4193701

Browse files
committed
patch cereal to fix error from using clang
see USCiLab/cereal#835
1 parent 633fa26 commit 4193701

File tree

1 file changed

+2
-2
lines changed
  • thirdparty/cereal-1.3.0/include/cereal/types

1 file changed

+2
-2
lines changed

thirdparty/cereal-1.3.0/include/cereal/types/tuple.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ namespace cereal
9595
template <class Archive, class ... Types> inline
9696
static void apply( Archive & ar, std::tuple<Types...> & tuple )
9797
{
98-
serialize<Height - 1>::template apply( ar, tuple );
98+
serialize<Height - 1>::apply( ar, tuple );
9999
ar( CEREAL_NVP_(tuple_element_name<Height - 1>::c_str(),
100100
std::get<Height - 1>( tuple )) );
101101
}
@@ -116,7 +116,7 @@ namespace cereal
116116
template <class Archive, class ... Types> inline
117117
void CEREAL_SERIALIZE_FUNCTION_NAME( Archive & ar, std::tuple<Types...> & tuple )
118118
{
119-
tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::template apply( ar, tuple );
119+
tuple_detail::serialize<std::tuple_size<std::tuple<Types...>>::value>::apply( ar, tuple );
120120
}
121121
} // namespace cereal
122122

0 commit comments

Comments
 (0)