13
0

Disambiguate another Rect (fixes macOS builds)

/usr/include/MacTypes.h:550:41: note: candidate found by name lookup is 'Rect'
libs/canvas/canvas/canvas.h:57:8: note: candidate found by name lookup is 'ArdourCanvas::Rect'
This commit is contained in:
Robin Gareus 2021-12-17 12:07:45 +01:00
parent b4c98f10e8
commit cf41055f7c
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -329,7 +329,7 @@ CueBoxUI::_size_allocate (ArdourCanvas::Rect const & alloc)
float ypos = 0;
for (auto & slot : _slots) {
slot->size_allocate (Rect(0, 0, width, slot_h));
slot->size_allocate (ArdourCanvas::Rect (0, 0, width, slot_h));
slot->set_position (Duple (0, ypos));
ypos += slot_h;
slot->show();