mirror of
https://github.com/ksherlock/mpw-shell.git
synced 2026-01-23 09:16:32 +00:00
echo is const.
This commit is contained in:
@@ -175,7 +175,7 @@ namespace {
|
||||
return i;
|
||||
}
|
||||
|
||||
void Environment::echo(const char *fmt, ...) {
|
||||
void Environment::echo(const char *fmt, ...) const {
|
||||
if (_echo && !_startup) {
|
||||
for (unsigned i = 0; i < _indent; ++i) {
|
||||
fputc(' ', stderr);
|
||||
|
||||
Reference in New Issue
Block a user