-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove static data from Configurator. (#696)
# Remove static data from `Configurator`. Fixes #614 (partially) --- # Change Description Made the static data into singletonoid functions. The data in question are: - The list of configuration sources - The true command line - The pointer to the `AdditionalConfiguration` object The command line values were combined into a struct to avoid passing more than one return value. The pointer to the additional configuration was set to a `nullptr` initially, with null checks used when the pointer value is used. --- # Test Description The `Configurator_test` still passes.
- Loading branch information
Showing
2 changed files
with
30 additions
and
26 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