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/ConfigFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ConfigFile.cxx') diff --git a/src/ConfigFile.cxx b/src/ConfigFile.cxx index eacaae5bb..5f614516e 100644 --- a/src/ConfigFile.cxx +++ b/src/ConfigFile.cxx @@ -253,7 +253,7 @@ ReadConfigFile(ConfigData &config_data, FILE *fp, Error &error) } bool -ReadConfigFile(ConfigData &config_data, const Path &path, Error &error) +ReadConfigFile(ConfigData &config_data, Path path, Error &error) { assert(!path.IsNull()); const std::string path_utf8 = path.ToUTF8(); -- cgit v1.2.3