diff --git a/Utils/FileConverter/ConvertSHPToGLI.cpp b/Utils/FileConverter/ConvertSHPToGLI.cpp index 163f1b978d1ed2ef0a93ff27dbf4f38e64526912..dafc343e489d91f35095d2744481f86b6b85c531 100644 --- a/Utils/FileConverter/ConvertSHPToGLI.cpp +++ b/Utils/FileConverter/ConvertSHPToGLI.cpp @@ -62,7 +62,7 @@ void convertPoints (DBFHandle dbf_handle, if (z_id != std::numeric_limits<size_t>::max()) z = DBFReadDoubleAttribute(dbf_handle, k, z_id); - name = ""; + name.clear(); if (!name_component_ids.empty()) { for (size_t j(0); j < name_component_ids.size(); j++) if (name_component_ids[j] != std::numeric_limits<size_t>::max()) {