X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fbinding%2Finputoutput.cpp;h=f9a061c76e78c7b7e77a33ec1d04250328263b70;hp=42ebf06263539bc582f16a7b1d27e2fbcf128bec;hb=f4ab4b5c657e5613caba82feaa81a8a400e4f331;hpb=0c9136370d062b08e47657e12f77518197d89339 diff --git a/pv/binding/inputoutput.cpp b/pv/binding/inputoutput.cpp index 42ebf06..f9a061c 100644 --- a/pv/binding/inputoutput.cpp +++ b/pv/binding/inputoutput.cpp @@ -14,8 +14,7 @@ * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * along with this program; if not, see . */ #include @@ -26,6 +25,7 @@ #include +#include #include #include #include @@ -35,7 +35,6 @@ using boost::none; -using std::make_pair; using std::map; using std::pair; using std::shared_ptr; @@ -47,6 +46,7 @@ using Glib::VariantType; using sigrok::Option; +using pv::prop::Bool; using pv::prop::Double; using pv::prop::Enum; using pv::prop::Int; @@ -59,17 +59,18 @@ namespace binding { InputOutput::InputOutput( const map> &options) { - for (pair> o : options) - { + for (const pair>& o : options) { const shared_ptr