We cannot use default for ~Mover() because gcc 4.6 cannot cope with it.
{
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
class SpecialisedMover : public Mover
{
public:
- SpecialisedMover() {}
-
- virtual ~SpecialisedMover() {}
+ SpecialisedMover() = default;
/** @c command should be of the form
* <code>