mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
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:
parent
5a7e08c9a9
commit
62c9d0f640
10
src/Mover.h
10
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
|
||||
* <code>
|
||||
|
Loading…
Reference in New Issue
Block a user