aboutsummaryrefslogtreecommitdiff
path: root/odb/tr1/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/tr1/lazy-ptr.txx
parenta5a93dcba35e79bfa247d54991a59f389203507e (diff)
Add template qualifiers that are missing according to Clang 3.1
Diffstat (limited to 'odb/tr1/lazy-ptr.txx')
-rw-r--r--odb/tr1/lazy-ptr.txx5
1 files changed, 3 insertions, 2 deletions
diff --git a/odb/tr1/lazy-ptr.txx b/odb/tr1/lazy-ptr.txx
index 3299ec2..65400f8 100644
--- a/odb/tr1/lazy-ptr.txx
+++ b/odb/tr1/lazy-ptr.txx
@@ -38,7 +38,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> ();
}
//
@@ -61,7 +61,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> ();
}