From: Christoph Egger Date: Thu, 15 May 2014 11:42:10 +0000 (+0200) Subject: Shorten loopheader X-Git-Tag: v0.1~219 X-Git-Url: https://git.siccegge.de//index.cgi?p=frida%2Ffrida.git;a=commitdiff_plain;h=a904a4c9d983eb93896f74208d2c0a44b735d7f5 Shorten loopheader --- diff --git a/src/gui/Mainwindow.cxx b/src/gui/Mainwindow.cxx index 8d6bb68..be86cac 100644 --- a/src/gui/Mainwindow.cxx +++ b/src/gui/Mainwindow.cxx @@ -59,9 +59,7 @@ void Mainwindow::open() { std::vector symbols = curBin->getSymbols(); if (0 == symbols.size()) populateSymbolInformation(".text"); - for (std::vector::iterator it = symbols.begin(); - it != symbols.end(); - ++it) { + for (auto it = symbols.begin(); it != symbols.end(); ++it) { populateSymbolInformation(*it); } }