From 801cee821949ccafd644b06364c0a2c01148e63a Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Tue, 3 Jul 2012 16:35:38 +0200 Subject: Add template qualifiers that are missing according to Clang 3.1 --- odb/tr1/lazy-ptr.ixx | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'odb/tr1/lazy-ptr.ixx') diff --git a/odb/tr1/lazy-ptr.ixx b/odb/tr1/lazy-ptr.ixx index 2fb76a9..a29eaad 100644 --- a/odb/tr1/lazy-ptr.ixx +++ b/odb/tr1/lazy-ptr.ixx @@ -329,7 +329,9 @@ namespace odb { typedef typename object_traits::object_type object_type; - return p_ ? object_traits::id (*p_) : i_.object_id (); + return p_ + ? object_traits::id (*p_) + : i_.template object_id (); } template @@ -593,7 +595,9 @@ namespace odb typedef typename object_traits::object_type object_type; std::tr1::shared_ptr sp (p_.lock ()); - return sp ? object_traits::id (*sp) : i_.object_id (); + return sp + ? object_traits::id (*sp) + : i_.template object_id (); } template -- cgit v1.1