You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2012/06/14 21:08:46 UTC

svn commit: r1350376 - /qpid/trunk/qpid/cpp/include/qpid/framing/Array.h

Author: astitcher
Date: Thu Jun 14 19:08:45 2012
New Revision: 1350376

URL: http://svn.apache.org/viewvc?rev=1350376&view=rev
Log:
NO-JIRA: Correct template to be strictly standards comformant (work with clang 3.1 & probably gcc 4.7)

Modified:
    qpid/trunk/qpid/cpp/include/qpid/framing/Array.h

Modified: qpid/trunk/qpid/cpp/include/qpid/framing/Array.h
URL: http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/include/qpid/framing/Array.h?rev=1350376&r1=1350375&r2=1350376&view=diff
==============================================================================
--- qpid/trunk/qpid/cpp/include/qpid/framing/Array.h (original)
+++ qpid/trunk/qpid/cpp/include/qpid/framing/Array.h Thu Jun 14 19:08:45 2012
@@ -82,7 +82,7 @@ class QPID_COMMON_CLASS_EXTERN Array
     // For use in standard algorithms
     template <typename R, typename V>
     static R get(const V& v) {
-        return v->get<R>();
+        return v->template get<R>();
     }
 
   private:



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org