We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3aab88 commit c633d74Copy full SHA for c633d74
include/cereal/details/traits.hpp
@@ -847,9 +847,6 @@ namespace cereal
847
static_assert( check::valid || !check::exists, "cereal detected different types in corresponding non-member " \
848
#test_name " and " #save_name " functions. \n " \
849
"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" ); \
853
}; \
854
} /* namespace detail */ \
855
\
0 commit comments