@@ -42,8 +42,8 @@ namespace configuration {
4242// ==============================================================================
4343
4444using SettingValue = dmt::configuration::Container::SettingValue;
45- using SettingsOverwride = std::pair<String, SettingValue>;
46- using SettingsOverrides = std::vector<SettingsOverwride >;
45+ using SettingsOverride = std::pair<String, SettingValue>;
46+ using SettingsOverrides = std::vector<SettingsOverride >;
4747using SettingsReplacement = std::pair<SettingValue, SettingValue>;
4848using SettingsReplacements = std::vector<SettingsReplacement>;
4949// ==============================================================================
@@ -66,7 +66,7 @@ class Properties
6666 /* *
6767 * @brief Initialize the properties with options and settings.
6868 */
69- void initialize (SettingsOverrides _overwrites = {},
69+ void initialize (SettingsOverrides _overrides = {},
7070 SettingsReplacements _replacements = {}) noexcept
7171 {
7272 auto options = dmt::configuration::getOptions ();
@@ -76,7 +76,7 @@ class Properties
7676 // Build fallback property set from defaults
7777 fallbackPropertySet = dmt::Settings::container.toPropertySet ();
7878 // Apply overrides and replacements to fallback only
79- applyOverrides (&fallbackPropertySet, _overwrites );
79+ applyOverrides (&fallbackPropertySet, _overrides );
8080 applyReplacements (&fallbackPropertySet, _replacements);
8181 settings->setFallbackPropertySet (&fallbackPropertySet);
8282
@@ -140,9 +140,9 @@ class Properties
140140
141141protected:
142142 void applyOverrides (juce::PropertySet* settings,
143- const SettingsOverrides& _overwrites )
143+ const SettingsOverrides& _overrides )
144144 {
145- for (const auto & [key, value] : _overwrites ) {
145+ for (const auto & [key, value] : _overrides ) {
146146 if (std::holds_alternative<String>(value)) {
147147 settings->setValue (key, std::get<String>(value));
148148 } else if (std::holds_alternative<int >(value)) {
0 commit comments