summaryrefslogtreecommitdiff
path: root/odb/relational/mysql
diff options
context:
space:
mode:
Diffstat (limited to 'odb/relational/mysql')
-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;"