From c687d63c28aaa16d00f9ed2e8a223a1d94ba9201 Mon Sep 17 00:00:00 2001 From: rinkk <karsten.rink@ufz.de> Date: Wed, 1 Jul 2020 11:33:17 +0200 Subject: [PATCH] fixed insert position for station names --- Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp b/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp index ac3acaf68cd..88b2f6d32f9 100644 --- a/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp +++ b/Applications/DataExplorer/DataView/GMSHPrefsDialog.cpp @@ -58,7 +58,7 @@ GMSHPrefsDialog::GMSHPrefsDialog(GeoLib::GEOObjects const& geoObjects, QDialog* geoObjects.getStationVectorNames(geo_station_names); std::copy(geo_station_names.begin(), geo_station_names.end(), - geoNames.begin()); + std::back_inserter(geoNames)); std::size_t nGeoObjects(geoNames.size()); -- GitLab