Closed kel85uk closed 6 years ago
it is a function returning a reference so pointer has to be deref'd. what is confusing here ? a shared_ptr
pointer follows normal pointer semantics.
@akva2 Ah, true that. Thanks for the clarification.
@kel85uk Thanks for the comment. The underlying problem is that m_eqldims
is a shared pointer, and should either have been a value or a unique pointer. Thanks for pointing that out.
In
lib/eclipse/EclipseState/Tables/TableManager.cpp
Noticed that the function
getEqldims()
returns*m_eqldims
. Should it be justm_eqldims
? This is because it is already of typeshared_ptr<Eqldims>
?