fix a variety of unused argument errors noted by gcc 4.3.2 on x86
[ardour.git] / libs / ardour / port_set.cc
index 7648db00cb413dff0d94f5f26695cf65b58480fd..a5fbc9eee6d1976b11e3e14aeccb7efabcb5937f 100644 (file)
@@ -36,7 +36,7 @@ static bool sort_ports_by_name (Port* a, Port* b)
         Glib::ustring bname (b->name());
         
         Glib::ustring::size_type last_digit_position_a = aname.size();
-        Glib::ustring::const_reverse_iterator r_iterator = aname.rbegin();
+        Glib::ustring::reverse_iterator r_iterator = aname.rbegin();
         
         while (r_iterator!= aname.rend() && Glib::Unicode::isdigit(*r_iterator)) {
                 r_iterator++;