X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fbinding%2Fbinding.cpp;h=6432d2935f71deb62120ed75babbfab1507a63ca;hb=f9abf97e78bc4825d80926b0ebc6cbaef40768b1;hp=3a6c73fb09afbdc162e181d54b7718c62d45be5b;hpb=5b1994c45194a95069dfcadf637723f3db8249da;p=pulseview.git diff --git a/pv/prop/binding/binding.cpp b/pv/prop/binding/binding.cpp index 3a6c73f..6432d29 100644 --- 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 */ -#include +#include #include @@ -26,20 +26,20 @@ #include "binding.h" -using boost::shared_ptr; +using std::shared_ptr; namespace pv { namespace prop { namespace binding { -const std::vector< boost::shared_ptr >& Binding::properties() +const std::vector< std::shared_ptr >& Binding::properties() { return _properties; } void Binding::commit() { - BOOST_FOREACH(shared_ptr p, _properties) { + for (shared_ptr p : _properties) { assert(p); p->commit(); } @@ -50,7 +50,7 @@ void Binding::add_properties_to_form(QFormLayout *layout, { assert(layout); - BOOST_FOREACH(shared_ptr p, _properties) + for (shared_ptr p : _properties) { assert(p);