aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/smart-ptr/lazy-ptr.txx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2012-07-03 16:35:39 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2012-07-03 16:35:39 +0200
commitb7b8e270fd97671c61e805aa4271cf345d7113e7 (patch)
treefc16c88ba36cd1c43a1ad86331f3f72724eefdba /odb/boost/smart-ptr/lazy-ptr.txx
parentf7c7f67c92dc33586c64eb2bc02fe4649c0eebfb (diff)
Add template qualifiers that are missing according to Clang 3.1
Diffstat (limited to 'odb/boost/smart-ptr/lazy-ptr.txx')
-rw-r--r--odb/boost/smart-ptr/lazy-ptr.txx5
1 files changed, 3 insertions, 2 deletions
diff --git a/odb/boost/smart-ptr/lazy-ptr.txx b/odb/boost/smart-ptr/lazy-ptr.txx
index aec409b..ecd3d6d 100644
--- a/odb/boost/smart-ptr/lazy-ptr.txx
+++ b/odb/boost/smart-ptr/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> ();
}