aboutsummaryrefslogtreecommitdiff
path: root/odb/result.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-03-26 15:59:31 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-03-26 15:59:31 +0200
commitb119086e8c5835695cd851da8ad1393218aa29df (patch)
treecf21640ee76f05b3ef067fb182baea0a57acbad1 /odb/result.hxx
parentb2f552f3505c1d8247e1a0ca844fe372ef639f79 (diff)
Get pointer_type from correct traits (object, view)
Diffstat (limited to 'odb/result.hxx')
-rw-r--r--odb/result.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/odb/result.hxx b/odb/result.hxx
index c40f984..8b675f0 100644
--- a/odb/result.hxx
+++ b/odb/result.hxx
@@ -212,7 +212,9 @@ namespace odb
// query_one() and query_value() implementation details.
//
public:
- typename object_traits<T>::pointer_type
+ typedef typename iterator::pointer_type pointer_type;
+
+ pointer_type
one ();
bool