X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=lily%2Fsymtable.cc;h=dd9cb2f732107caa62b335fc45e9f3465fef5fb4;hb=31653bf1d61a33ef8bc8c871d60c6b3452d04d28;hp=cc3cecff23140339de16c96438dcf0fd18466a37;hpb=4a8e84ba5dc1f8b71fda44b848b601349a80403a;p=lilypond.git diff --git a/lily/symtable.cc b/lily/symtable.cc index cc3cecff23..dd9cb2f732 100644 --- a/lily/symtable.cc +++ b/lily/symtable.cc @@ -31,7 +31,7 @@ Symtables::Symtables (Symtables const &s) Symtables::~Symtables() { - for (Dictionary_iter< Symtable*> i (*this); i.ok(); i++) + for (Dictionary_iter i (*this); i.ok(); i++) { delete i.val(); } @@ -60,12 +60,12 @@ Symtables::operator()(String s) { error (_f ("Symtable `%s\' unknown", s)); /* - We can 't return, because we'll dump core anyway. + We can 't return, because we would dump core anyway. */ return 0; } else - return Dictionary::operator[](s); + return elem(s); } void Symtables::print() const