From 302b804ec633889f26dc54d937d9becc09246152 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 16 Nov 2010 08:49:35 +0200 Subject: Rework pointer traits, add naked, auto_ptr, and TR1 specializations --- odb/mysql/source.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'odb/mysql') 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 ());"; -- cgit v1.1