diff options
Diffstat (limited to 'odb/pgsql/statement-cache.txx')
-rw-r--r-- | odb/pgsql/statement-cache.txx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/odb/pgsql/statement-cache.txx b/odb/pgsql/statement-cache.txx index 40ed170..f3bbe07 100644 --- a/odb/pgsql/statement-cache.txx +++ b/odb/pgsql/statement-cache.txx @@ -7,10 +7,13 @@ namespace odb namespace pgsql { template <typename T> - typename object_traits<T>::statements_type& statement_cache:: + typename object_traits_impl<T, id_pgsql>::statements_type& + statement_cache:: find_object () { - typedef typename object_traits<T>::statements_type statements_type; + typedef + typename object_traits_impl<T, id_pgsql>::statements_type + statements_type; map::iterator i (map_.find (&typeid (T))); |