13
0

'Rect' is ambiguous (also defined in MacTypes.h)

This commit is contained in:
Robin Gareus 2016-12-21 13:21:54 +01:00
parent 0053abbaae
commit 63e89b2090

View File

@ -318,7 +318,7 @@ MidiGhostRegion::update_range ()
ArdourCanvas::Rectangle* rect = NULL; ArdourCanvas::Rectangle* rect = NULL;
ArdourCanvas::Polygon* poly = NULL; ArdourCanvas::Polygon* poly = NULL;
if ((rect = dynamic_cast<ArdourCanvas::Rectangle*>((*it).second->item))) { if ((rect = dynamic_cast<ArdourCanvas::Rectangle*>((*it).second->item))) {
rect->set (Rect (rect->x0(), y, rect->x1(), y + h)); rect->set (ArdourCanvas::Rect (rect->x0(), y, rect->x1(), y + h));
} else if ((poly = dynamic_cast<ArdourCanvas::Polygon*>((*it).second->item))) { } else if ((poly = dynamic_cast<ArdourCanvas::Polygon*>((*it).second->item))) {
Duple position = poly->position(); Duple position = poly->position();
position.y = y; position.y = y;