summaryrefslogtreecommitdiff
path: root/lang/gnu-apl/files/patch-src_InputFile.hh
blob: 22b4b8898eb472015f00dd20cdb73defe1717988 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/InputFile.hh.orig	2019-06-23 12:39:20 UTC
+++ src/InputFile.hh
@@ -42,7 +42,7 @@ struct InputFile
    InputFile(const UTF8_string & _filename, FILE * _file,
                      bool _test, bool _echo, bool _is_script, LX_mode LX)
    : file     (_file),
-     filename (&_filename[0], _filename.size()),
+     filename (_filename),
      test     (_test),
      echo     (_echo),
      is_script(_is_script),