summaryrefslogtreecommitdiffstats
path: root/commands/command_edit.h
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_edit.h')
-rw-r--r--commands/command_edit.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/commands/command_edit.h b/commands/command_edit.h
index 5cf6e328a..d7c31f7f2 100644
--- a/commands/command_edit.h
+++ b/commands/command_edit.h
@@ -393,7 +393,7 @@ protected:
EditCylinderBase(int index, bool currentDiveOnly, bool nonProtectedOnly, int sameCylinderFlags);
~EditCylinderBase();
- cylinder_t cyl;
+ std::vector<cylinder_t> cyl;
std::vector<int> indexes; // An index for each dive in the dives vector.
bool workToBeDone() override;
};
@@ -409,9 +409,7 @@ private:
class EditCylinder : public EditCylinderBase {
public:
EditCylinder(int index, cylinder_t cyl, bool currentDiveOnly); // Clones cylinder
- ~EditCylinder();
private:
- cylinder_t new_cyl;
void undo() override;
void redo() override;
};