diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-03 16:35:39 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2012-07-03 16:35:39 +0200 |
commit | e0dc0c1f005f36063e08c61de2754c4360103695 (patch) | |
tree | 6a8669f81bab94b5a7bb65b561ba8e2a0c6e97f6 /odb/qt/smart-ptr/lazy-ptr.txx | |
parent | 0c8561962a9651ad04715d944b849410a50fa56f (diff) |
Add template qualifiers that are missing according to Clang 3.1
Diffstat (limited to 'odb/qt/smart-ptr/lazy-ptr.txx')
-rw-r--r-- | odb/qt/smart-ptr/lazy-ptr.txx | 6 |
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> (); } |