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
{
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.
* 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
* <code>