diff options
author | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-01-11 10:04:39 +0000 |
---|---|---|
committer | Jitse Niesen <jitse@maths.leeds.ac.uk> | 2010-01-11 10:04:39 +0000 |
commit | 376341de4a46e4f6bf757b863c18b8246ba5a252 (patch) | |
tree | 7816718c69792296ee78c98b380fd33cb84cfd28 /Eigen | |
parent | 83d21d5ff61783ed4b786acf355b3cbca2adc3ce (diff) |
Eigen/src/Core/DenseStorageBase.h: add 'typename'
Diffstat (limited to 'Eigen')
-rw-r--r-- | Eigen/src/Core/DenseStorageBase.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Eigen/src/Core/DenseStorageBase.h b/Eigen/src/Core/DenseStorageBase.h index 302da2b19..94f565b1f 100644 --- a/Eigen/src/Core/DenseStorageBase.h +++ b/Eigen/src/Core/DenseStorageBase.h @@ -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); } }; |