Eigen/src/Core/DenseStorageBase.h: add 'typename'

This commit is contained in:
Jitse Niesen 2010-01-11 10:04:39 +00:00
parent 83d21d5ff6
commit 376341de4a

View File

@ -612,7 +612,7 @@ struct ei_matrix_swap_impl<MatrixTypeA, MatrixTypeB, true>
{
static inline void run(MatrixTypeA& a, MatrixTypeB& b)
{
static_cast<MatrixTypeA::Base&>(a).m_storage.swap(static_cast<MatrixTypeB::Base&>(b).m_storage);
static_cast<typename MatrixTypeA::Base&>(a).m_storage.swap(static_cast<typename MatrixTypeB::Base&>(b).m_storage);
}
};