qt: drop leftover boost::function usage in Qt, drop header from list

This commit is contained in:
Kittywhiskers Van Gogh 2024-04-18 11:48:10 +00:00
parent c47e9e78ed
commit 9ae39f9ba7
No known key found for this signature in database
GPG Key ID: 30CD0C065E5C4AAD
2 changed files with 1 additions and 4 deletions

View File

@ -7,8 +7,6 @@
#include <qt/trafficgraphdata.h>
#include <boost/function.hpp>
#include <QWidget>
#include <QQueue>
@ -37,7 +35,7 @@ public Q_SLOTS:
void clear();
private:
typedef boost::function<float(const TrafficSample&)> SampleChooser;
typedef std::function<float(const TrafficSample&)> SampleChooser;
void paintPath(QPainterPath &path, const TrafficGraphData::SampleQueue &queue, SampleChooser chooser);
QTimer *timer;

View File

@ -52,7 +52,6 @@ EXPECTED_BOOST_INCLUDES=(
boost/date_time/posix_time/posix_time.hpp
boost/filesystem.hpp
boost/filesystem/fstream.hpp
boost/function.hpp
boost/multi_index/hashed_index.hpp
boost/multi_index/ordered_index.hpp
boost/multi_index/sequenced_index.hpp