projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Setup environment for SRD on Android
[pulseview.git]
/
pv
/
toolbars
/
samplingbar.cpp
diff --git
a/pv/toolbars/samplingbar.cpp
b/pv/toolbars/samplingbar.cpp
index 6d419f74dbef319905f31815956fda229d3398ee..af5afb0c27774b980ae843c68e73a81b6e135217 100644
(file)
--- a/
pv/toolbars/samplingbar.cpp
+++ b/
pv/toolbars/samplingbar.cpp
@@
-22,8
+22,6
@@
#include <assert.h>
#include <assert.h>
-#include <boost/foreach.hpp>
-
#include <QAction>
#include <QDebug>
#include <QHelpEvent>
#include <QAction>
#include <QDebug>
#include <QHelpEvent>
@@
-37,10
+35,10
@@
#include <pv/popups/probes.h>
#include <pv/util.h>
#include <pv/popups/probes.h>
#include <pv/util.h>
-using boost::shared_ptr;
using std::map;
using std::max;
using std::min;
using std::map;
using std::max;
using std::min;
+using std::shared_ptr;
using std::string;
namespace pv {
using std::string;
namespace pv {
@@
-114,7
+112,7
@@
void SamplingBar::set_device_list(
_device_selector.clear();
_device_selector_map.clear();
_device_selector.clear();
_device_selector_map.clear();
-
BOOST_FOREACH (shared_ptr<pv::device::DevInst> dev_inst,
devices) {
+
for (shared_ptr<pv::device::DevInst> dev_inst :
devices) {
assert(dev_inst);
const string title = dev_inst->format_device_title();
const sr_dev_inst *sdi = dev_inst->dev_inst();
assert(dev_inst);
const string title = dev_inst->format_device_title();
const sr_dev_inst *sdi = dev_inst->dev_inst();