Mover.h: let move be defined

We cannot use default for ~Mover() because gcc 4.6 cannot cope with it.
This commit is contained in:
Guillaume MM 2017-04-03 00:31:37 +02:00 committed by Jean-Marc Lasgouttes
parent 5a7e08c9a9
commit 62c9d0f640

View File

@ -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
* <code>