Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUI2/Window Builder: removed build_widget function and used std::make…
…_shared directly This function's name was rather misleading. It didn't actually build a widget, just created a an object (usually a builder, as it was utilized in REGISTER_WIDGET) with the config argument as its ctor parameters. Lamdas render the need of a separate function to pass as an std::function argument obsolete.
- Loading branch information
Showing
2 changed files
with
4 additions
and
18 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