Skip to content

Use of RAII idiom for the WidgetContainer class #281

@maxbrundev

Description

@maxbrundev

Description
Currently the WidgetContainer class use raw pointers and users has to de-allocate memory manually.

Expected behavior
We should replace the usage of raw pointers by unique_ptr and be able to transfer the ownership of an allocated Widget to an another WidgetContainer.
The EMemoryMode should be also removed since there is no use case of concrete shared ownership of Widgets

Metadata

Metadata

Assignees

Labels

RefactoringSomething that needs a refactoring

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions