aboutsummaryrefslogtreecommitdiff
path: root/odb/lazy-ptr.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/lazy-ptr.txx')
-rw-r--r--odb/lazy-ptr.txx9
1 files changed, 5 insertions, 4 deletions
diff --git a/odb/lazy-ptr.txx b/odb/lazy-ptr.txx
index fdc304b..039448a 100644
--- a/odb/lazy-ptr.txx
+++ b/odb/lazy-ptr.txx
@@ -36,7 +36,7 @@ namespace odb
typedef typename object_traits<Y>::object_type object_type2;
return i_.database () == r.i_.database () &&
- object_id<object_type1> () == r.object_id<object_type2> ();
+ object_id<object_type1> () == r.template object_id<object_type2> ();
}
#ifdef ODB_CXX11
@@ -73,7 +73,7 @@ namespace odb
typedef typename object_traits<T1>::object_type object_type2;
return i_.database () == r.i_.database () &&
- object_id<object_type1> () == r.object_id<object_type2> ();
+ object_id<object_type1> () == r.template object_id<object_type2> ();
}
//
@@ -108,7 +108,7 @@ namespace odb
typedef typename object_traits<Y>::object_type object_type2;
return i_.database () == r.i_.database () &&
- object_id<object_type1> () == r.object_id<object_type2> ();
+ object_id<object_type1> () == r.template object_id<object_type2> ();
}
//
@@ -131,7 +131,8 @@ namespace odb
else
{
if (i_)
- return lazy_shared_ptr<T> (*i_.database (), i_.object_id<T> ());
+ return lazy_shared_ptr<T> (
+ *i_.database (), i_.template object_id<T> ());
else
return lazy_shared_ptr<T> ();
}