mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-01-24 14:45:14 +08:00
Eigen/src/Core/DenseStorageBase.h: add 'typename'
This commit is contained in:
parent
83d21d5ff6
commit
376341de4a
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user