From 7d9b3fb7a083fa1ac09b1c1755951c713db04f50 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 8 Jan 2012 17:32:52 +0200 Subject: Add support for defining composite value type as class template instantiations (mssql) --- odb/relational/mssql/source.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'odb') diff --git a/odb/relational/mssql/source.cxx b/odb/relational/mssql/source.cxx index c1236b8..4fd3f69 100644 --- a/odb/relational/mssql/source.cxx +++ b/odb/relational/mssql/source.cxx @@ -504,7 +504,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)) @@ -876,7 +876,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