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/TextFile.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/TextFile.hxx') diff --git a/src/TextFile.hxx b/src/TextFile.hxx index 3d031a1f6..4291f2639 100644 --- a/src/TextFile.hxx +++ b/src/TextFile.hxx @@ -36,7 +36,7 @@ class TextFile { GString *const buffer; public: - TextFile(const Path &path_fs); + TextFile(Path path_fs); TextFile(const TextFile &other) = delete; -- cgit v1.2.3