projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
test/CMakeLists.txt: Drop obsolete boost-thread references.
[pulseview.git]
/
pv
/
prop
/
binding
/
binding.cpp
diff --git
a/pv/prop/binding/binding.cpp
b/pv/prop/binding/binding.cpp
index 3a6c73fb09afbdc162e181d54b7718c62d45be5b..6432d2935f71deb62120ed75babbfab1507a63ca 100644
(file)
--- a/
pv/prop/binding/binding.cpp
+++ b/
pv/prop/binding/binding.cpp
@@
-18,7
+18,7
@@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <
boost/foreach.hpp
>
+#include <
cassert
>
#include <QFormLayout>
#include <QFormLayout>
@@
-26,20
+26,20
@@
#include "binding.h"
#include "binding.h"
-using
boost
::shared_ptr;
+using
std
::shared_ptr;
namespace pv {
namespace prop {
namespace binding {
namespace pv {
namespace prop {
namespace binding {
-const std::vector<
boost
::shared_ptr<Property> >& Binding::properties()
+const std::vector<
std
::shared_ptr<Property> >& Binding::properties()
{
return _properties;
}
void Binding::commit()
{
{
return _properties;
}
void Binding::commit()
{
-
BOOST_FOREACH(shared_ptr<pv::prop::Property> p,
_properties) {
+
for (shared_ptr<pv::prop::Property> p :
_properties) {
assert(p);
p->commit();
}
assert(p);
p->commit();
}
@@
-50,7
+50,7
@@
void Binding::add_properties_to_form(QFormLayout *layout,
{
assert(layout);
{
assert(layout);
-
BOOST_FOREACH(shared_ptr<pv::prop::Property> p,
_properties)
+
for (shared_ptr<pv::prop::Property> p :
_properties)
{
assert(p);
{
assert(p);