0
0
mirror of https://github.com/rbock/sqlpp11.git synced 2024-11-16 04:47:18 +08:00

Simplified serializer a bit

This commit is contained in:
rbock 2014-11-29 17:36:09 +01:00
parent f02a9ce3d0
commit d34c22ca5a

View File

@ -31,7 +31,6 @@
namespace sqlpp namespace sqlpp
{ {
template<typename Expression>
struct assert_serializer_specialization_t struct assert_serializer_specialization_t
{ {
using type = std::false_type; using type = std::false_type;
@ -46,7 +45,7 @@ namespace sqlpp
template<typename Context, typename T, typename Enable = void> template<typename Context, typename T, typename Enable = void>
struct serializer_t struct serializer_t
{ {
using _serialize_check = assert_serializer_specialization_t<T>; using _serialize_check = assert_serializer_specialization_t;
static void _(const T& t, Context& context) static void _(const T& t, Context& context)
{ {