From 4fd6bca4e75870958ea61b94e0a1e60e78cd91bc Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 8 Jan 2012 17:27:40 +0200 Subject: Add support for defining composite value type as class template instantiations --- odb/relational/sqlite/source.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb/relational/sqlite/source.cxx') diff --git a/odb/relational/sqlite/source.cxx b/odb/relational/sqlite/source.cxx index 32ac13e..5a9f5fb 100644 --- a/odb/relational/sqlite/source.cxx +++ b/odb/relational/sqlite/source.cxx @@ -353,7 +353,7 @@ namespace relational // Handle NULL pointers and extract the id. // os << "{" - << "typedef object_traits< " << c->fq_name () << + << "typedef object_traits< " << class_fq_name (*c) << " > obj_traits;"; if (weak_pointer (mt)) @@ -545,7 +545,7 @@ namespace relational // Handle NULL pointers and extract the id. // os << "{" - << "typedef object_traits< " << c->fq_name () << + << "typedef object_traits< " << class_fq_name (*c) << " > obj_traits;" << "typedef pointer_traits< " << mi.fq_type () << " > ptr_traits;" -- cgit v1.1