mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Fix Gcc8.5 warning about missing base class initialisation (#2404)
This commit is contained in:
committed by
David Tellenbach
parent
47eac21072
commit
c9df98b071
@@ -275,7 +275,7 @@ class Tensor : public TensorBase<Tensor<Scalar_, NumIndices_, Options_, IndexTyp
|
||||
|
||||
EIGEN_DEVICE_FUNC
|
||||
EIGEN_STRONG_INLINE Tensor(const Self& other)
|
||||
: m_storage(other.m_storage)
|
||||
: Base(other), m_storage(other.m_storage)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user