aboutsummaryrefslogtreecommitdiff
path: root/odb/lazy-ptr.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-03 16:35:38 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-03 16:35:38 +0200
commit801cee821949ccafd644b06364c0a2c01148e63a (patch)
treed67052b766e6e35021694fab2473f88c643438d7 /odb/lazy-ptr.txx
parenta5a93dcba35e79bfa247d54991a59f389203507e (diff)
Add template qualifiers that are missing according to Clang 3.1
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> ();
}