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/StateFile.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/StateFile.cxx') diff --git a/src/StateFile.cxx b/src/StateFile.cxx index ce812076c..7a427a6a9 100644 --- a/src/StateFile.cxx +++ b/src/StateFile.cxx @@ -33,7 +33,7 @@ static constexpr Domain state_file_domain("state_file"); -StateFile::StateFile(Path &&_path, +StateFile::StateFile(AllocatedPath &&_path, Partition &_partition, EventLoop &_loop) :TimeoutMonitor(_loop), path(std::move(_path)), path_utf8(path.ToUTF8()), -- cgit v1.2.3