diff --git a/gtk2_ardour/mixer_strip.cc b/gtk2_ardour/mixer_strip.cc index 9b1e04b18a..9cb7a34c01 100644 --- a/gtk2_ardour/mixer_strip.cc +++ b/gtk2_ardour/mixer_strip.cc @@ -1147,7 +1147,7 @@ MixerStrip::update_io_button (boost::shared_ptr route, bool for_i string& connection_name (*i); if (io_connection_count == 0) { - tooltip << endl << Glib::Markup::escape_text(port->name().substr(port->name().find("/") + 1)) << " -> " << Glib::Markup::escape_text(connection_name); + tooltip << endl << std::string (Glib::Markup::escape_text(port->name().substr(port->name().find("/") + 1))) << " -> " << std::string (Glib::Markup::escape_text(connection_name)); } else { tooltip << ", " << std::string (Glib::Markup::escape_text(connection_name)); }