aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-16 08:49:35 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-16 08:49:35 +0200
commit302b804ec633889f26dc54d937d9becc09246152 (patch)
tree730c672f1cbeb89d9be85bbf53c7f2f3f0bd9486 /odb/mysql
parent89a3b6133ade1ccb3a8e9ab9c86eac6aaef5db69 (diff)
Rework pointer traits, add naked, auto_ptr, and TR1 specializations
Diffstat (limited to 'odb/mysql')
-rw-r--r--odb/mysql/source.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/odb/mysql/source.cxx b/odb/mysql/source.cxx
index 2e54a04..2f65de6 100644
--- a/odb/mysql/source.cxx
+++ b/odb/mysql/source.cxx
@@ -2176,7 +2176,7 @@ namespace mysql
<< "{"
<< "pointer_type p (access::object_factory< object_type, " <<
"pointer_type >::create ());"
- << "pointer_traits< pointer_type >::guard g (p);"
+ << "pointer_traits< pointer_type >::guard_type g (p);"
<< "object_type& obj (pointer_traits< pointer_type >::get_ref (p));"
<< "init (obj, sts.image ());";