summaryrefslogtreecommitdiff
path: root/helpcompiler
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-03-09 21:10:04 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-03-09 22:04:31 +0000
commitd22519f62bcd1325f1e7cc920a115b68fccd1922 (patch)
tree3b761a7f8c25f8f765c8d25662a803e47b5a7167 /helpcompiler
parentd44168795aed842d524e3a349962f2b98a8ac504 (diff)
V801: Decreased performance
Change-Id: Id8cd45d2844c121f63684734ab3546c24a1aab32
Diffstat (limited to 'helpcompiler')
-rw-r--r--helpcompiler/inc/HelpCompiler.hxx2
-rw-r--r--helpcompiler/source/HelpCompiler.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/inc/HelpCompiler.hxx b/helpcompiler/inc/HelpCompiler.hxx
index e686c7454522..1fbcaefcd608 100644
--- a/helpcompiler/inc/HelpCompiler.hxx
+++ b/helpcompiler/inc/HelpCompiler.hxx
@@ -126,7 +126,7 @@ namespace fs
void append(const std::string &in) { append(in.c_str()); }
};
- void create_directory(const fs::path indexDirName);
+ void create_directory(const fs::path& indexDirName);
void copy(const fs::path &src, const fs::path &dest);
}
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx
index ccc324f949a1..f85aae124b77 100644
--- a/helpcompiler/source/HelpCompiler.cxx
+++ b/helpcompiler/source/HelpCompiler.cxx
@@ -519,7 +519,7 @@ namespace fs
return nThreadTextEncoding;
}
- void create_directory(const fs::path indexDirName)
+ void create_directory(const fs::path& indexDirName)
{
HCDBG(
std::cerr << "creating " <<