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 3b8a01d..0b182ae 100644
--- a/odb/mysql/source.cxx
+++ b/odb/mysql/source.cxx
@@ -2753,7 +2753,7 @@ namespace mysql
<< "}"
<< "pointer_type p (" << endl
<< "access::object_factory< object_type, pointer_type >::create ());"
- << "pointer_traits< pointer_type >::guard_type pg (p);"
+ << "pointer_traits< pointer_type >::guard pg (p);"
<< "pointer_cache_traits< pointer_type >::insert_guard ig (" << endl
<< "pointer_cache_traits< pointer_type >::insert (db, id, p));"
<< "object_type& obj (pointer_traits< pointer_type >::get_ref (p));"