Commit 193c39fb authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[FIX #211] Now it should compile again under Mac OSX Lion.

parent d6c411e7
...@@ -474,7 +474,7 @@ public: ...@@ -474,7 +474,7 @@ public:
explicit WTensorBase( WTensorBaseSym< 0, dim, Data_T > const& t ) explicit WTensorBase( WTensorBaseSym< 0, dim, Data_T > const& t )
: m_data() : m_data()
{ {
m_data = t.operator[]< std::size_t >( NULL ); m_data = t.template operator[]< std::size_t >( NULL );
} }
/** /**
...@@ -499,7 +499,7 @@ public: ...@@ -499,7 +499,7 @@ public:
*/ */
WTensorBase const& operator = ( WTensorBaseSym< 0, dim, Data_T > const& t ) WTensorBase const& operator = ( WTensorBaseSym< 0, dim, Data_T > const& t )
{ {
m_data = t.operator[]< std::size_t >( NULL ); m_data = t.template operator[]< std::size_t >( NULL );
return *this; return *this;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment