From 2fda71965df3e6a9dd9a498128259feb88320571 Mon Sep 17 00:00:00 2001 From: Jan Kaluza Date: Thu, 17 Jan 2013 09:19:07 +0100 Subject: [PATCH] aother try to fix createDirectories --- include/transport/util.h | 2 +- src/util.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/transport/util.h b/include/transport/util.h index 490724bf..5e7e4f4d 100644 --- a/include/transport/util.h +++ b/include/transport/util.h @@ -33,7 +33,7 @@ namespace Transport { namespace Util { -void createDirectories(Transport::Config *config, const boost::filesystem::path& ph); +void createDirectories(Transport::Config *config, boost::filesystem::path ph); void removeEverythingOlderThan(const std::vector &dirs, time_t t); diff --git a/src/util.cpp b/src/util.cpp index b8c3adc5..d96da239 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -49,7 +49,7 @@ namespace Transport { namespace Util { -void createDirectories(Transport::Config *config, const boost::filesystem::path& ph) { +void createDirectories(Transport::Config *config, path ph) { if (ph.empty() || exists(ph)) { return; }