Lines Matching defs:other
112 DrmDevice::DrmDevice(DrmDevice &&other)
113 : fd {other.fd}
114 , gpu_num {other.gpu_num}
115 , name {std::move(other.name)}
117 other.fd = -1;
118 other.gpu_num = -1;
121 DrmDevice &DrmDevice::operator=(DrmDevice &&other)
123 std::swap(fd, other.fd);
124 std::swap(gpu_num, other.gpu_num);
125 std::swap(name, other.name);