aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/smart-ptr/lazy-ptr.txx
diff options
context:
space:
mode:
Diffstat (limited to 'odb/qt/smart-ptr/lazy-ptr.txx')
-rw-r--r--odb/qt/smart-ptr/lazy-ptr.txx6
1 files changed, 3 insertions, 3 deletions
diff --git a/odb/qt/smart-ptr/lazy-ptr.txx b/odb/qt/smart-ptr/lazy-ptr.txx
index 25e3636..03b98bb 100644
--- a/odb/qt/smart-ptr/lazy-ptr.txx
+++ b/odb/qt/smart-ptr/lazy-ptr.txx
@@ -30,7 +30,7 @@ equal (const QLazySharedPointer<X>& r) const
typedef typename odb::object_traits<X>::object_type object_type2;
return i_.database () == r.i_.database () &&
- objectId<object_type1> () == r.objectId<object_type2> ();
+ objectId<object_type1> () == r.template objectId<object_type2> ();
}
//
@@ -90,8 +90,8 @@ toStrongRef () const
else
{
if (i_)
- return QLazySharedPointer<T> (*i_.database (),
- i_.template object_id<T> ());
+ return QLazySharedPointer<T> (
+ *i_.database (), i_.template object_id<T> ());
else
return QLazySharedPointer<T> ();
}