diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-08 17:32:52 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-01-20 15:43:45 +0200 |
commit | 7d9b3fb7a083fa1ac09b1c1755951c713db04f50 (patch) | |
tree | 79515ebc6279a72aac66bb5f1c1814e7a931a34b | |
parent | 3bda8a75778eaad3096a2b2e36560d3edabc6d24 (diff) |
Add support for defining composite value type as class template instantiations (mssql)
-rw-r--r-- | odb/relational/mssql/source.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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;" |