visibility macros and flush() added to SrcFileSource; merge with master
[ardour.git] / libs / midi++2 / midnam_patch.cc
index 0b8f1ffcb23221318db84ac7976106f6c9ca2609..252804e4669857bf0b0e90c2d1d7bc7a02851b3f 100644 (file)
@@ -472,7 +472,7 @@ operator<< (std::ostream& os, const ChannelNameSet& cns)
           << "List size " << cns._patch_list.size() << endl
           << "Patch list name = [" << cns._patch_list_name << ']' << endl
           << "Available channels : ";
-       for (set<uint8_t>::iterator x = cns._available_for_channels.begin(); x != cns._available_for_channels.end(); ++x) {
+       for (set<uint8_t>::const_iterator x = cns._available_for_channels.begin(); x != cns._available_for_channels.end(); ++x) {
                os << (int) (*x) << ' ';
        }
        os << endl;