diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-16 13:45:27 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-16 13:45:27 +0200 |
commit | 040a6a777be8b933e4c1c4528e9dd2cb516c3c36 (patch) | |
tree | 4b64dedc690c4af700b892d4fa23043fb1b21331 | |
parent | 801cee821949ccafd644b06364c0a2c01148e63a (diff) |
Simplify query inheritance hierarchy
This should also allow Sun CC handle queries for objects with circular
dependencies.
-rw-r--r-- | odb/query.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/odb/query.hxx b/odb/query.hxx index e654ade..9f889db 100644 --- a/odb/query.hxx +++ b/odb/query.hxx @@ -63,14 +63,14 @@ namespace odb struct query_selector_impl<T, class_object> { typedef typename object_traits<T>::query_base_type base_type; - typedef typename object_traits<T>::query_type type; + typedef query_columns<T, access::object_traits<T> > columns_type; }; template <typename T> struct query_selector_impl<T, class_view> { typedef typename view_traits<T>::query_base_type base_type; - typedef typename view_traits<T>::query_type type; + typedef typename view_traits<T>::query_columns columns_type; }; template <typename T> |