change interface to Input::write_echo() to accept const std::string

This commit is contained in:
Axel Kohlmeyer
2020-06-11 10:23:44 -04:00
parent 71d3827cce
commit 7ace10238d
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ class Input : protected Pointers {
void substitute(char *&, char *&, int &, int &, int);
// substitute for variables in a string
int expand_args(int, char **, int, char **&); // expand args due to wildcard
void write_echo(const char *); // send text to active echo file pointers
void write_echo(const std::string &); // send text to active echo file pointers
protected:
char *command; // ptr to current command