Skip to content

Convert RW data structures to shared pointers #1065

@joaogvcarneiro

Description

@joaogvcarneiro

Describe your use case
RW data structures currently use raw pointers to make them changeable throughout the simulation, which is needed for adding faults. Shared pointers can perform the same tasks, but have a more robust ownership structure. Converting the raw pointers to shared pointers can lead to safer and more effective memory management.

Describe alternatives solutions you've considered
N/A.

Additional context
See here for more information on shared pointers vs raw pointers.

Metadata

Metadata

Labels

refactorClean up with no new functionality

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions