X-Git-Url: https://git.saurik.com/cycript.git/blobdiff_plain/b3378a02d0a811be38e530933fb9a57a3012a823..c5fa2867a4a09bcc2b3933da72e820fb9f5ad8d1:/ObjectiveC/Replace.cpp?ds=inline diff --git a/ObjectiveC/Replace.cpp b/ObjectiveC/Replace.cpp index 35389b9..9d2d1ab 100644 --- a/ObjectiveC/Replace.cpp +++ b/ObjectiveC/Replace.cpp @@ -119,7 +119,7 @@ CYExpression *CYSelector::Replace(CYContext &context) { CYString *CYSelectorPart::Replace(CYContext &context) { std::ostringstream str; - for (const CYSelectorPart *part(this); part != NULL; part = part->next_) { + CYForEach (part, this) { if (part->name_ != NULL) str << part->name_->Word(); if (part->value_)