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 | b7b8e270fd97671c61e805aa4271cf345d7113e7 (patch) | |
tree | fc16c88ba36cd1c43a1ad86331f3f72724eefdba /odb/boost/smart-ptr/lazy-ptr.ixx | |
parent | f7c7f67c92dc33586c64eb2bc02fe4649c0eebfb (diff) |
Add template qualifiers that are missing according to Clang 3.1
Diffstat (limited to 'odb/boost/smart-ptr/lazy-ptr.ixx')
-rw-r--r-- | odb/boost/smart-ptr/lazy-ptr.ixx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/odb/boost/smart-ptr/lazy-ptr.ixx b/odb/boost/smart-ptr/lazy-ptr.ixx index ecdc2a9..4b9f761 100644 --- a/odb/boost/smart-ptr/lazy-ptr.ixx +++ b/odb/boost/smart-ptr/lazy-ptr.ixx @@ -366,7 +366,9 @@ namespace odb { typedef typename object_traits<T>::object_type object_type; - return p_ ? object_traits<object_type>::id (*p_) : i_.object_id<O> (); + return p_ + ? object_traits<object_type>::id (*p_) + : i_.template object_id<O> (); } template <class T> @@ -630,7 +632,9 @@ namespace odb typedef typename object_traits<T>::object_type object_type; ::boost::shared_ptr<T> sp (p_.lock ()); - return sp ? object_traits<object_type>::id (*sp) : i_.object_id<O> (); + return sp + ? object_traits<object_type>::id (*sp) + : i_.template object_id<O> (); } template <class T> |