You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After discussion with @Florent2305 it could be interesting to switch the creation of private class to QScopedPointer or something else, avoiding the need to do delete d; as done in some process in medInria.
It still needs deletion of variables created by new in these private classes.
Cf medAbstractParameter::~medAbstractParameter() comment, empty destructor of the class (or default) is needed.
The text was updated successfully, but these errors were encountered:
mathildemerle
changed the title
[QScopedPointer] private class auto delete management
[smart pointers] private class auto delete management
Oct 16, 2023
After discussion with @Florent2305 it could be interesting to switch the creation of private class to
QScopedPointer
or something else, avoiding the need to dodelete d;
as done in some process in medInria.It still needs deletion of variables created by new in these private classes.
Cf
medAbstractParameter::~medAbstractParameter()
comment, empty destructor of the class (or default) is needed.The text was updated successfully, but these errors were encountered: