From 7def7ef5000d53e579972fae498bb759a581fce6 Mon Sep 17 00:00:00 2001 From: Colin LeMahieu Date: Wed, 20 Sep 2023 04:27:08 +0100 Subject: [PATCH] Removing use of BOOST_FOREACH --- nano/qt/qt.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nano/qt/qt.cpp b/nano/qt/qt.cpp index 457d57c7..31fcf25d 100644 --- a/nano/qt/qt.cpp +++ b/nano/qt/qt.cpp @@ -1,7 +1,6 @@ #include #include -#include #include #include @@ -845,7 +844,7 @@ void nano_qt::stats_viewer::refresh_stats () if (json) { // Format the stat data to make totals and values easier to read - BOOST_FOREACH (boost::property_tree::ptree::value_type const & child, json->get_child ("entries")) + for (boost::property_tree::ptree::value_type const & child : json->get_child ("entries")) { auto time = child.second.get ("time"); auto type = child.second.get ("type");