diff options
Diffstat (limited to 'src/TextFile.cxx')
-rw-r--r-- | src/TextFile.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/TextFile.cxx b/src/TextFile.cxx index da0b33816..89df6d1bf 100644 --- a/src/TextFile.cxx +++ b/src/TextFile.cxx @@ -27,7 +27,7 @@ #include <assert.h> #include <string.h> -TextFile::TextFile(const Path &path_fs) +TextFile::TextFile(Path path_fs) :file(FOpen(path_fs, FOpenMode::ReadText)), buffer(g_string_sized_new(step)) {} |