From 01cd6385ffb16a56af30691c4f04fe0ed3574289 Mon Sep 17 00:00:00 2001 From: Fabian Homborg Date: Sun, 15 Nov 2020 11:26:15 +0100 Subject: [PATCH] reader: Make param const const good! Fabian like const! --- src/reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader.cpp b/src/reader.cpp index 934fc09da..0359d948f 100644 --- a/src/reader.cpp +++ b/src/reader.cpp @@ -2322,7 +2322,7 @@ static eval_res_t reader_run_command(parser_t &parser, const wcstring &cmd) { return eval_res; } -static parser_test_error_bits_t reader_shell_test(parser_t &parser, const wcstring &b) { +static parser_test_error_bits_t reader_shell_test(const parser_t &parser, const wcstring &b) { wcstring bstr = b; // Append a newline, to act as a statement terminator.