mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
Shut up clang warnings
This commit is contained in:
parent
1dc58110fe
commit
7c0f08f79b
2 changed files with 14 additions and 14 deletions
|
@ -149,7 +149,7 @@ public:
|
|||
if (debugRepl)
|
||||
runDebugRepl(&error, env, expr);
|
||||
|
||||
throw error;
|
||||
throw std::move(error);
|
||||
}
|
||||
|
||||
template<class E>
|
||||
|
@ -164,7 +164,7 @@ public:
|
|||
runDebugRepl(&e, last.env, last.expr);
|
||||
}
|
||||
|
||||
throw e;
|
||||
throw std::move(e);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue