We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cef8e02 commit f5f6345Copy full SHA for f5f6345
src/cascadia/TerminalSettingsModel/GlobalAppSettings.cpp
@@ -94,11 +94,7 @@ winrt::com_ptr<GlobalAppSettings> GlobalAppSettings::Copy() const
94
}
95
if (_DisabledProfileSources)
96
{
97
- globals->_DisabledProfileSources = winrt::single_threaded_vector<hstring>();
98
- for (const auto& src : *_DisabledProfileSources)
99
- {
100
- globals->_DisabledProfileSources->Append(src);
101
- }
+ globals->_DisabledProfileSources = winrt::single_threaded_vector<hstring>(std::move(wil::to_vector(*globals->_DisabledProfileSources)));
102
103
104
for (const auto& parent : _parents)
0 commit comments