Skip to content

Commit c633d74

Browse files
author
Sebastian Schaetz
committed
Work around issues USCiLab#132 and USCiLab#263
1 parent c3aab88 commit c633d74

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/cereal/details/traits.hpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -847,9 +847,6 @@ namespace cereal
847847
static_assert( check::valid || !check::exists, "cereal detected different types in corresponding non-member " \
848848
#test_name " and " #save_name " functions. \n " \
849849
"the paramater to " #test_name " must be a constant reference to the type that " #save_name " returns." ); \
850-
static_assert( check::const_valid || !check::exists, \
851-
"cereal detected an invalid serialization type parameter in non-member " #test_name ". " \
852-
#test_name " non-member functions must accept their serialization type by non-const reference" ); \
853850
}; \
854851
} /* namespace detail */ \
855852
\

0 commit comments

Comments
 (0)