summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/kwsys/SystemTools.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/kwsys/SystemTools.cxx b/Source/kwsys/SystemTools.cxx
index 5f1bbda..fd0a19b 100644
--- a/Source/kwsys/SystemTools.cxx
+++ b/Source/kwsys/SystemTools.cxx
@@ -3325,18 +3325,18 @@ SystemTools
// The first two components do not add a slash.
if(first != last)
{
- result += *first++;
+ result.append(*first++);
}
if(first != last)
{
- result += *first++;
+ result.append(*first++);
}
// All remaining components are always separated with a slash.
while(first != last)
{
- result += "/";
- result += *first++;
+ result.append("/");
+ result.append(*first++);
}
// Return the concatenated result.