diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-26 15:59:31 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-03-26 15:59:31 +0200 |
commit | b119086e8c5835695cd851da8ad1393218aa29df (patch) | |
tree | cf21640ee76f05b3ef067fb182baea0a57acbad1 /odb/result.txx | |
parent | b2f552f3505c1d8247e1a0ca844fe372ef639f79 (diff) |
Get pointer_type from correct traits (object, view)
Diffstat (limited to 'odb/result.txx')
-rw-r--r-- | odb/result.txx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/odb/result.txx b/odb/result.txx index da6da3e..fce29d7 100644 --- a/odb/result.txx +++ b/odb/result.txx @@ -7,11 +7,9 @@ namespace odb { template <typename T> - typename object_traits<T>::pointer_type result<T>:: + typename result<T>::pointer_type result<T>:: one () { - typedef typename object_traits<T>::pointer_type pointer_type; - iterator i (begin ()); if (i != end ()) |