commit 3c8d8a8a0d02ed81dde55162697db97fb9ddd3dd parent fb724c0430ebb9fabd318e1f51247cf0801524d6 Author: cfillion <cfillion@users.noreply.github.com> Date: Sun, 17 Jan 2016 21:13:54 -0500 mild refactoring Diffstat:
M | src/source.cpp | | | 5 | +---- |
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/source.cpp b/src/source.cpp @@ -86,8 +86,5 @@ Path Source::targetPath() const if(!pkg) throw reapack_error("no package associated with the source"); - Path path = pkg->targetPath(); - path.append(file()); - - return path; + return pkg->targetPath() + file(); }