Mover.h: let move be defined

This commit is contained in:
Guillaume MM 2017-04-03 00:31:37 +02:00
parent 29a82fdc58
commit d4ea07705a

View File

@ -27,7 +27,13 @@ namespace support { class FileName; }
class Mover class Mover
{ {
public: public:
virtual ~Mover() {} virtual ~Mover() = default;
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. /** Copy file @c from to @c to.
* This version should be used to copy files from the original * This version should be used to copy files from the original
@ -109,9 +115,7 @@ protected:
class SpecialisedMover : public Mover class SpecialisedMover : public Mover
{ {
public: public:
SpecialisedMover() {} SpecialisedMover() = default;
virtual ~SpecialisedMover() {}
/** @c command should be of the form /** @c command should be of the form
* <code> * <code>