mirror of
https://github.com/NixOS/nix
synced 2025-07-05 16:31:47 +02:00
Fix broken move
This commit is contained in:
parent
5442d9b472
commit
add066cc7b
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue