diff options
Diffstat (limited to 'odb/mysql/source.cxx')
-rw-r--r-- | odb/mysql/source.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx index 29495df..2e54a04 100644 --- a/odb/mysql/source.cxx +++ b/odb/mysql/source.cxx @@ -2174,8 +2174,8 @@ namespace mysql << "bool grew (false);" << "if (find (sts, id, grew))" << "{" - << "pointer_type p (access::object_factory< " << type << - " >::create ());" + << "pointer_type p (access::object_factory< object_type, " << + "pointer_type >::create ());" << "pointer_traits< pointer_type >::guard g (p);" << "object_type& obj (pointer_traits< pointer_type >::get_ref (p));" << "init (obj, sts.image ());"; |