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");