mirror of
https://github.com/NixOS/nix.git
synced 2025-12-03 15:40:59 +01:00
Mark move constructor as noexcept
Co-authored-by: Sergei Zimmerman <sergei@zimmerman.foo>
This commit is contained in:
parent
34e92724d6
commit
0f4c7204f7
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ class AutoDelete
|
|||
public:
|
||||
AutoDelete();
|
||||
|
||||
AutoDelete(AutoDelete && x)
|
||||
AutoDelete(AutoDelete && x) noexcept
|
||||
{
|
||||
_path = std::move(x._path);
|
||||
del = x.del;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue