summaryrefslogtreecommitdiff
path: root/src/TextFile.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/TextFile.cxx')
-rw-r--r--src/TextFile.cxx2
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)) {}