aboutsummaryrefslogtreecommitdiffstats
path: root/src/ExcludeList.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/ExcludeList.cxx')
-rw-r--r--src/ExcludeList.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ExcludeList.cxx b/src/ExcludeList.cxx
index 16bdbf383..c6b0d1469 100644
--- a/src/ExcludeList.cxx
+++ b/src/ExcludeList.cxx
@@ -37,7 +37,7 @@
static constexpr Domain exclude_list_domain("exclude_list");
bool
-ExcludeList::LoadFile(const Path &path_fs)
+ExcludeList::LoadFile(Path path_fs)
{
FILE *file = FOpen(path_fs, FOpenMode::ReadText);
if (file == NULL) {
@@ -69,7 +69,7 @@ ExcludeList::LoadFile(const Path &path_fs)
}
bool
-ExcludeList::Check(const Path &name_fs) const
+ExcludeList::Check(Path name_fs) const
{
assert(!name_fs.IsNull());