From abfbd55305587306730d5419b8a3b09e6a43abcb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 17 Oct 2013 21:59:35 +0200 Subject: fs/Path: rename to AllocatedPath The new class Path only holds a string pointer without being responsible for allocation/deallocation. The FileSystem.hxx library accepts Path arguments instead of AllocatedPath, to avoid forcing callers to allocate another string object. --- src/ExcludeList.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ExcludeList.hxx') diff --git a/src/ExcludeList.hxx b/src/ExcludeList.hxx index 03513ef8b..61fdacef8 100644 --- a/src/ExcludeList.hxx +++ b/src/ExcludeList.hxx @@ -67,13 +67,13 @@ public: /** * Loads and parses a .mpdignore file. */ - bool LoadFile(const Path &path_fs); + bool LoadFile(Path path_fs); /** * Checks whether one of the patterns in the .mpdignore file matches * the specified file name. */ - bool Check(const Path &name_fs) const; + bool Check(Path name_fs) const; }; -- cgit v1.2.3