Files
nix/src/libutil/processes.cc
Artemis Tosini 538e82aa0b libutil: add useful functions to Pid
The C++ rule of five suggests that when a custom destructor is needed
then several other functions are as well. The lack of those makes
certain operations challenging
2026-01-28 13:47:09 -05:00

12 lines
161 B
C++

#include "nix/util/processes.hh"
namespace nix {
Pid & Pid::operator=(Pid && other) noexcept
{
swap(*this, other);
return *this;
}
} // namespace nix