From 91d2375cde505263800fd049b7f69377b384afe8 Mon Sep 17 00:00:00 2001 From: Lars Bilke <lars.bilke@ufz.de> Date: Mon, 11 Aug 2014 09:59:55 +0200 Subject: [PATCH] http://www.viva64.com/en/d/0331/print/ --- Utils/FileConverter/ConvertSHPToGLI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Utils/FileConverter/ConvertSHPToGLI.cpp b/Utils/FileConverter/ConvertSHPToGLI.cpp index 163f1b978d1..dafc343e489 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()) { -- GitLab