diff --git a/modules/juce_graphics/geometry/juce_RectangleList.h b/modules/juce_graphics/geometry/juce_RectangleList.h index 19bb7f5608..84a4822987 100644 --- a/modules/juce_graphics/geometry/juce_RectangleList.h +++ b/modules/juce_graphics/geometry/juce_RectangleList.h @@ -421,7 +421,7 @@ public: */ bool containsPoint (ValueType x, ValueType y) const noexcept { - return contains (Point (x, y)); + return containsPoint (Point (x, y)); } /** Checks whether the region contains the whole of a given rectangle.