X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fbinding%2Finputoutput.cpp;h=9ba387fbc0cb01a01854010463848ae0dbf3c3ce;hp=956b12b32ff4d04de89c7e26f84352b689520930;hb=HEAD;hpb=5d2aa2c724cd7b6693c7956d4f1c7f0f856dcc27 diff --git a/pv/binding/inputoutput.cpp b/pv/binding/inputoutput.cpp index 956b12b3..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 @@ -36,7 +35,6 @@ using boost::none; -using std::make_pair; using std::map; using std::pair; using std::shared_ptr; @@ -61,17 +59,18 @@ namespace binding { InputOutput::InputOutput( const map> &options) { - for (pair> o : options) - { + for (const pair>& o : options) { const shared_ptr