Skip to content

Commit 86950d2

Browse files
committed
Missing return
1 parent 00ecd51 commit 86950d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/yup_graphics/primitives/yup_Path.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ Path& Path::addBubble (Rectangle<float> bodyArea, Rectangle<float> maximumArea,
466466
{
467467
// Just draw a rounded rectangle
468468
addRoundedRectangle (bodyArea, cornerSize);
469-
return;
469+
return *this;
470470
}
471471

472472
// Determine which side the arrow should be on based on tip position relative to rectangle

0 commit comments

Comments
 (0)