diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-27 16:30:36 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-27 16:30:36 +0200 |
commit | 93fb6614f72a87af9cf8c935a49988a16df5a5c9 (patch) | |
tree | 1f8bbc0a212be69ff123d94fba0d88bf351adb26 /odb/pgsql/database.hxx | |
parent | 4e00f899bae227cfd2eb6dcb905a17fbca591636 (diff) |
Get pointer_type from correct traits (object, view), part 2as
Diffstat (limited to 'odb/pgsql/database.hxx')
-rw-r--r-- | odb/pgsql/database.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odb/pgsql/database.hxx b/odb/pgsql/database.hxx index ac34f6a..6ad1ba9 100644 --- a/odb/pgsql/database.hxx +++ b/odb/pgsql/database.hxx @@ -295,7 +295,7 @@ namespace odb // Query one API. // template <typename T> - typename object_traits<T>::pointer_type + typename result<T>::pointer_type query_one (); template <typename T> @@ -307,7 +307,7 @@ namespace odb query_value (); template <typename T> - typename object_traits<T>::pointer_type + typename result<T>::pointer_type query_one (const char*); template <typename T> @@ -319,7 +319,7 @@ namespace odb query_value (const char*); template <typename T> - typename object_traits<T>::pointer_type + typename result<T>::pointer_type query_one (const std::string&); template <typename T> @@ -331,7 +331,7 @@ namespace odb query_value (const std::string&); template <typename T> - typename object_traits<T>::pointer_type + typename result<T>::pointer_type query_one (const pgsql::query_base&); template <typename T> @@ -343,7 +343,7 @@ namespace odb query_value (const pgsql::query_base&); template <typename T> - typename object_traits<T>::pointer_type + typename result<T>::pointer_type query_one (const odb::query_base&); template <typename T> |