-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
backend: frontend: Make BackEnd and FrontEnd standard layout types
To allow the BackEnd and FrontEnd objects to be safely shared between processes, it must be a standard layout type. Add a static_assert to ensure this is the case. Remove the const reference PiSPVariant members from both BackEnd and FrontEnd and replace with a const PiSPVariant member. Remove all BackEnd default config std::map types. These are replaced by std::vector<std::pair<.,.>> types which are standard layout types. Signed-off-by: Naushir Patuck <[email protected]>
- Loading branch information
Showing
3 changed files
with
26 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters