commit 0590d666a6728415accb000dbea6948dfb725c99 parent aae0f3a040bebec99ee59c8c7fce2a078538a10e Author: cfillion <cfillion@users.noreply.github.com> Date: Fri, 28 Oct 2016 22:26:47 -0400 path: a bit of refactoring Diffstat:
M | src/path.cpp | | | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/path.cpp b/src/path.cpp @@ -156,9 +156,9 @@ string Path::join(const char sep) const const string &part = *it; if(!path.empty()) - path.insert(path.end(), sep ? sep : SEPARATOR); + path += sep ? sep : SEPARATOR; - path.append(part); + path += part; } return path;