From 1d438c0c211d21e33f3eec833a307416000b32a2 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Jul 2015 11:43:37 +0200 Subject: C++ type mapping support for container elements --- odb/relational/mysql/common.cxx | 29 ++++++++++++++++------------- 1 file changed, 16 insertions(+), 13 deletions(-) (limited to 'odb/relational/mysql/common.cxx') diff --git a/odb/relational/mysql/common.cxx b/odb/relational/mysql/common.cxx index 98edfcd..a8f4668 100644 --- a/odb/relational/mysql/common.cxx +++ b/odb/relational/mysql/common.cxx @@ -152,17 +152,18 @@ namespace relational member_image_type:: member_image_type (base const& x) : member_base::base (x), // virtual base - base (x) - { - } + base (x) {} + + member_image_type:: + member_image_type () + : relational::member_base (0, 0, string (), string ()) {} member_image_type:: member_image_type (semantics::type* type, + const custom_cxx_type* ct, string const& fq_type, string const& key_prefix) - : relational::member_base (type, fq_type, key_prefix) - { - } + : relational::member_base (type, ct, fq_type, key_prefix) {} string member_image_type:: image_type (semantics::data_member& m) @@ -294,18 +295,20 @@ namespace relational member_database_type_id:: member_database_type_id (base const& x) : member_base::base (x), // virtual base - base (x) - { - } + base (x) {} + + member_database_type_id:: + member_database_type_id () + : member_base::base (0, 0, string (), string ()), // virtual base + base (0, 0, string (), string ()) {} member_database_type_id:: member_database_type_id (semantics::type* type, + const custom_cxx_type* ct, string const& fq_type, string const& key_prefix) - : member_base::base (type, fq_type, key_prefix), // virtual base - base (type, fq_type, key_prefix) - { - } + : member_base::base (type, ct, fq_type, key_prefix), // virtual base + base (type, ct, fq_type, key_prefix) {} string member_database_type_id:: database_type_id (type& m) -- cgit v1.1