Wireshark-commits: [Wireshark-commits] master e68247e: InterfaceTree: Change foreach to const_itera

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 19 Oct 2016 07:45:23 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e68247e1fdc5a81872f5f3ee01a40ea71db71380
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

e68247e by Roland Knall (rknall@xxxxxxxxx):

    InterfaceTree: Change foreach to const_iterator
    
    Change all occurences of the foreach macro to while loops with
    const_iterator for performance reasons
    
    Change-Id: I1cd378696136b3d6cc100b9bfff95295baa2ff83
    Reviewed-on: https://code.wireshark.org/review/18286
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  864f750   ManageInterfacesDialog: Implement View/Data Model
    adds  e68247e   InterfaceTree: Change foreach to const_iterator


Summary of changes:
 ui/qt/interface_frame.cpp             |   24 ++++++++++++++----------
 ui/qt/interface_sort_filter_model.cpp |   12 ++++++++----
 ui/qt/interface_tree_model.cpp        |   19 +++++++++++++++----
 3 files changed, 37 insertions(+), 18 deletions(-)