Skip to content

Remove std::shared_ptr flow-functions#830

Draft
fabianbs96 wants to merge 7 commits intosecure-software-engineering:developmentfrom
fabianbs96:f-RemoveSharedPtrFF
Draft

Remove std::shared_ptr flow-functions#830
fabianbs96 wants to merge 7 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()).

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