summaryrefslogtreecommitdiffstats
path: root/commands/command_divesite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'commands/command_divesite.cpp')
-rw-r--r--commands/command_divesite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/command_divesite.cpp b/commands/command_divesite.cpp
index 45d0abcaf..47c46f84e 100644
--- a/commands/command_divesite.cpp
+++ b/commands/command_divesite.cpp
@@ -131,7 +131,7 @@ void ImportDiveSites::undo()
sitesToAdd = removeDiveSites(sitesToRemove);
}
-DeleteDiveSites::DeleteDiveSites(const QVector<dive_site *> &sites) : sitesToRemove(sites.toStdVector())
+DeleteDiveSites::DeleteDiveSites(const QVector<dive_site *> &sites) : sitesToRemove(std::vector<dive_site *>(sites.begin(),sites.end()))
{
setText(tr("delete %n dive site(s)", "", sites.size()));
}