Skip to content

Remove std::shared_ptr flow-functions#830

Open
fabianbs96 wants to merge 8 commits intosecure-software-engineering:developmentfrom
fabianbs96:f-RemoveSharedPtrFF
Open

Remove std::shared_ptr flow-functions#830
fabianbs96 wants to merge 8 commits intosecure-software-engineering:developmentfrom
fabianbs96:f-RemoveSharedPtrFF

Conversation

@fabianbs96
Copy link
Copy Markdown
Member

FlowFunction objects do not need to be managed by a std::shared_ptr. This is just unnecessary overhead.
Replace std::shared_ptr with psr::MaybeUniquePtr for unique or no ownership (useful for static singletons, such as identityFlow()).

@fabianbs96 fabianbs96 marked this pull request as ready for review April 28, 2026 17:32
@fabianbs96 fabianbs96 requested a review from MMory as a code owner April 28, 2026 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant