From a904a4c9d983eb93896f74208d2c0a44b735d7f5 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 15 May 2014 13:42:10 +0200 Subject: [PATCH] Shorten loopheader --- src/gui/Mainwindow.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); } } -- 2.39.2