#include "config.h"
+#include <utility>
+
#include "gromacs/domdec/gpuhaloexchange.h"
#include "gromacs/utility/gmxassert.h"
GpuHaloExchange::~GpuHaloExchange() = default;
+GpuHaloExchange::GpuHaloExchange(GpuHaloExchange&&) noexcept = default;
+
+GpuHaloExchange& GpuHaloExchange::operator=(GpuHaloExchange&& other) noexcept
+{
+ std::swap(impl_, other.impl_);
+ return *this;
+}
+
/*!\brief init halo exhange stub. */
void GpuHaloExchange::reinitHalo(DeviceBuffer<RVec> /* d_coordinatesBuffer */,
DeviceBuffer<RVec> /* d_forcesBuffer */)