Merge pull request #9170 from tfc/fix-broken-move
Fix broken move (cherry picked from commit aa4f41d796630004e90790bffe2239420f77f696) Change-Id: I39d3f9f4f27328500de005c9205d905c55d6f9ea
This commit is contained in:
parent
d28a6618a8
commit
75fb953205
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ void AbstractConfig::warnUnknownSettings()
|
||||||
void AbstractConfig::reapplyUnknownSettings()
|
void AbstractConfig::reapplyUnknownSettings()
|
||||||
{
|
{
|
||||||
auto unknownSettings2 = std::move(unknownSettings);
|
auto unknownSettings2 = std::move(unknownSettings);
|
||||||
|
unknownSettings = {};
|
||||||
for (auto & s : unknownSettings2)
|
for (auto & s : unknownSettings2)
|
||||||
set(s.first, s.second);
|
set(s.first, s.second);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue