Skip to content

Commit

Permalink
Change Element::parent -> Element::parentElement
Browse files Browse the repository at this point in the history
  • Loading branch information
sammycage committed Sep 18, 2024
1 parent 1674166 commit 0c3e33f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/lunasvg.h
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ class LUNASVG_API Element {
* @brief Returns the parent element.
* @return The parent element of this element. If this element has no parent, a null `Element` is returned.
*/
Element parent() const;
Element parentElement() const;

/**
* @brief Checks if the element is null.
Expand Down
2 changes: 1 addition & 1 deletion source/lunasvg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ Box Element::getBoundingBox() const
return Box();
}

Element Element::parent() const
Element Element::parentElement() const
{
if(m_element)
return m_element->parent();
Expand Down

0 comments on commit 0c3e33f

Please sign in to comment.