From f6f8eb0befd2511b023e8b57a409fffa40ee1204 Mon Sep 17 00:00:00 2001 From: rbock Date: Sat, 31 Oct 2015 18:04:16 +0100 Subject: [PATCH] Fixed serialization of result fields --- include/sqlpp11/result_field.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/sqlpp11/result_field.h b/include/sqlpp11/result_field.h index 821880a8..a277078e 100644 --- a/include/sqlpp11/result_field.h +++ b/include/sqlpp11/result_field.h @@ -53,7 +53,7 @@ namespace sqlpp } else { - serialize(wrap_operand_t{t}, context); + serialize(wrap_operand_t>(t.value()), context); } return context; }