diff options
Diffstat (limited to 'odb/mysql/header.cxx')
-rw-r--r-- | odb/mysql/header.cxx | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/odb/mysql/header.cxx b/odb/mysql/header.cxx index 195263c..79b8d67 100644 --- a/odb/mysql/header.cxx +++ b/odb/mysql/header.cxx @@ -675,15 +675,14 @@ namespace mysql << "//" << endl; os << "template <>" << endl - << "class access::object_traits< " << type << " >: " << endl - << " public access::object_memory< " << type << " >," << endl - << " public access::object_factory< " << type << " >" + << "class access::object_traits< " << type << " >" << "{" << "public:" << endl; - // object_type + // object_type & pointer_type // - os << "typedef " << type << " object_type;"; + os << "typedef " << type << " object_type;" + << "typedef " << c.get<string> ("object-pointer") << " pointer_type;"; // id_type // |