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
|
@ -68,6 +68,7 @@ void AbstractConfig::warnUnknownSettings()
|
|||
void AbstractConfig::reapplyUnknownSettings()
|
||||
{
|
||||
auto unknownSettings2 = std::move(unknownSettings);
|
||||
unknownSettings = {};
|
||||
for (auto & s : unknownSettings2)
|
||||
set(s.first, s.second);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue