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