X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fbinding%2Finputoutput.cpp;h=9ba387fbc0cb01a01854010463848ae0dbf3c3ce;hp=42ebf06263539bc582f16a7b1d27e2fbcf128bec;hb=HEAD;hpb=0c9136370d062b08e47657e12f77518197d89339 diff --git a/pv/binding/inputoutput.cpp b/pv/binding/inputoutput.cpp index 42ebf062..9ba387fb 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