From 96b34c2e710bef806c96fefeb259684b19993ec3 Mon Sep 17 00:00:00 2001
From: Hannes Hauswedell
Date: Thu, 2 May 2019 17:14:07 +0200
Subject: [PATCH] remove const check from load_minimal
---
include/cereal/details/traits.hpp | 3 ---
1 file changed, 3 deletions(-)
diff --git a/include/cereal/details/traits.hpp b/include/cereal/details/traits.hpp
index f26619b9..52cb6fec 100644
--- a/include/cereal/details/traits.hpp
+++ b/include/cereal/details/traits.hpp
@@ -847,9 +847,6 @@ namespace cereal
static_assert( check::valid || !check::exists, "cereal detected different types in corresponding non-member " \
#test_name " and " #save_name " functions. \n " \
"the paramater to " #test_name " must be a constant reference to the type that " #save_name " returns." ); \
- static_assert( check::const_valid || !check::exists, \
- "cereal detected an invalid serialization type parameter in non-member " #test_name ". " \
- #test_name " non-member functions must accept their serialization type by non-const reference" ); \
}; \
} /* namespace detail */ \
\