aboutsummaryrefslogtreecommitdiff
path: root/odb/mysql
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:30:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-11-26 13:30:39 +0200
commit886f5c5511a3b8291fafd7fe1435916a7c993cf0 (patch)
treebde38652379ca598c3ef22ce6a9e3eed4703bfa2 /odb/mysql
parent5ea5e53521e52a3f63de1f18734bdf2c871bf60c (diff)
Rename guard_type to guard for consistency
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 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));"