diff --git a/src/Mover.h b/src/Mover.h index 4d1c1c7900..4bf525e8d9 100644 --- a/src/Mover.h +++ b/src/Mover.h @@ -28,6 +28,12 @@ class Mover { public: virtual ~Mover() {} + Mover(Mover &&) = default; + Mover & operator=(Mover &&) = default; + Mover(Mover const &) = default; + Mover & operator=(Mover const &) = default; + + Mover() = default; /** Copy file @c from to @c to. * This version should be used to copy files from the original @@ -109,9 +115,7 @@ protected: class SpecialisedMover : public Mover { public: - SpecialisedMover() {} - - virtual ~SpecialisedMover() {} + SpecialisedMover() = default; /** @c command should be of the form *