mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-07-01 16:31:16 -03:00
[cppcheck] add const in several places
Found with constParameter, functionConst, constVariable, constArgument Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
ridiculousfish
parent
39861d54c5
commit
fee08a87e9
@@ -150,7 +150,7 @@ void builtin_bind_t::function_names(io_streams_t &streams) {
|
||||
|
||||
/// Wraps input_terminfo_get_sequence(), appending the correct error messages as needed.
|
||||
bool builtin_bind_t::get_terminfo_sequence(const wcstring &seq, wcstring *out_seq,
|
||||
io_streams_t &streams) {
|
||||
io_streams_t &streams) const {
|
||||
if (input_terminfo_get_sequence(seq, out_seq)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user