mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-08-12 11:49:02 +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 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…
x
Reference in New Issue
Block a user