error: definition of implicit copy constructor for 'VPosition' is deprecated

because it has a user-declared destructor.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2019-08-22 18:09:47 +03:00
parent 01798ee422
commit c63a1af61d

View File

@ -61,6 +61,9 @@ class VPosition
public:
VPosition();
VPosition(const VPositionData &data, std::atomic_bool *stop, bool saveLength);
VPosition(const VPosition&) = default;
VPosition& operator=(const VPosition&) = default;
VPosition& operator=(VPosition&&) = default;
virtual ~VPosition()= default;
virtual void run();