aboutsummaryrefslogtreecommitdiff
path: root/odb/result.hxx
diff options
context:
space:
mode:
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