13
0

OS X clang build issue fix

This commit is contained in:
Paul Davis 2016-06-05 17:59:56 -04:00
parent 843b6b90b0
commit 5bbfac2380

View File

@ -3455,11 +3455,16 @@ Session::add_routes_inner (RouteList& new_routes, bool input_auto_connect, bool
} }
} }
#ifndef __APPLE__
/* clang complains: 'operator<<' should be declared prior to the call site or in an associated namespace of one of its
* arguments std::ostream& operator<<(std::ostream& o, ARDOUR::PresentationInfo const& rid)"
*/
DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("added route %1, group order %2 type %3 (summary: %4)\n", DEBUG_TRACE (DEBUG::OrderKeys, string_compose ("added route %1, group order %2 type %3 (summary: %4)\n",
r->name(), r->name(),
r->presentation_info().order(), r->presentation_info().order(),
enum_2_string (r->presentation_info().flags()), enum_2_string (r->presentation_info().flags()),
r->presentation_info())); r->presentation_info()));
#endif
if (input_auto_connect || output_auto_connect) { if (input_auto_connect || output_auto_connect) {