summaryrefslogtreecommitdiff
path: root/odb/relational/mysql/source.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-01-08 17:27:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-01-08 17:27:40 +0200
commit4fd6bca4e75870958ea61b94e0a1e60e78cd91bc (patch)
tree2119cae72f45e1ceff1982d8364b4b678ac4ee69 /odb/relational/mysql/source.cxx
parent7cd11b5f604c7d786261568aa31cd2ae3638f61e (diff)
Add support for defining composite value type as class template instantiations
Diffstat (limited to 'odb/relational/mysql/source.cxx')
-rw-r--r--odb/relational/mysql/source.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/relational/mysql/source.cxx b/odb/relational/mysql/source.cxx
index 576f80c..06d40b7 100644
--- a/odb/relational/mysql/source.cxx
+++ b/odb/relational/mysql/source.cxx
@@ -645,7 +645,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))
@@ -919,7 +919,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;"