Use internal::ref_selector to avoid holding a reference to a RHS expression.

This commit is contained in:
Rasmus Munk Larsen
2021-06-22 14:31:32 +00:00
committed by Antonio Sánchez
parent ea62c937ed
commit 4ad30a73fc
2 changed files with 5 additions and 1 deletions

View File

@@ -77,7 +77,7 @@ public:
protected:
const Decomposition &m_dec;
const RhsType &m_rhs;
const typename internal::ref_selector<RhsType>::type m_rhs;
};