1
1
Fork 0
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:
Eelco Dolstra 2025-12-01 13:46:59 +01:00 committed by GitHub
parent 34e92724d6
commit 0f4c7204f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -294,7 +294,7 @@ class AutoDelete
public:
AutoDelete();
AutoDelete(AutoDelete && x)
AutoDelete(AutoDelete && x) noexcept
{
_path = std::move(x._path);
del = x.del;