Fixed value_list for sets

This commit is contained in:
rbock
2015-03-08 20:15:16 +01:00
parent d2975b39fb
commit 30834ab9db

View File

@@ -109,7 +109,7 @@ namespace sqlpp
{
if (t._container.size() == 1)
{
return serialize(value(t._container[0]), context);
return serialize(value(*begin(t._container)), context);
}
bool first = true;