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: [email protected]
For additional commands, e-mail: [email protected]