aboutsummaryrefslogtreecommitdiff
path: root/odb/result.txx
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.txx
parentb2f552f3505c1d8247e1a0ca844fe372ef639f79 (diff)
Get pointer_type from correct traits (object, view)
Diffstat (limited to 'odb/result.txx')
-rw-r--r--odb/result.txx4
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 ())