diff options
-rw-r--r-- | commands/command_edit.cpp | 3 | ||||
-rw-r--r-- | commands/command_edit.h | 1 |
2 files changed, 1 insertions, 3 deletions
diff --git a/commands/command_edit.cpp b/commands/command_edit.cpp index 02939ac6d..d55684814 100644 --- a/commands/command_edit.cpp +++ b/commands/command_edit.cpp @@ -865,8 +865,7 @@ void PasteState::swap(dive_components what) } // ***** Paste ***** -PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn), - current(current_dive) +PasteDives::PasteDives(const dive *data, dive_components whatIn) : what(whatIn) { std::vector<dive *> selection = getDiveSelection(); dives.reserve(selection.size()); diff --git a/commands/command_edit.h b/commands/command_edit.h index aa749ceda..6c2b2f600 100644 --- a/commands/command_edit.h +++ b/commands/command_edit.h @@ -307,7 +307,6 @@ struct PasteState { class PasteDives : public Base { dive_components what; std::vector<PasteState> dives; - dive *current; public: PasteDives(const dive *d, dive_components what); private: |