Skip to content

Commit

Permalink
const
Browse files Browse the repository at this point in the history
  • Loading branch information
3nids authored and nyalldawson committed Oct 15, 2024
1 parent 3a8fab7 commit 647a89a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/core/auto_generated/qgspointxy.sip.in
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ Compares this point with another point with a fuzzy tolerance
.. versionadded:: 2.9
%End

bool operator==( const QgsPointXY &other ) /HoldGIL/;
bool operator==( const QgsPointXY &other ) const /HoldGIL/;

bool operator!=( const QgsPointXY &other ) const /HoldGIL/;

Expand Down
2 changes: 1 addition & 1 deletion src/core/qgspointxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class CORE_EXPORT QgsPointXY
}

//! equality operator
bool operator==( const QgsPointXY &other ) SIP_HOLDGIL
bool operator==( const QgsPointXY &other ) const SIP_HOLDGIL
{
if ( isEmpty() && other.isEmpty() )
return true;
Expand Down

0 comments on commit 647a89a

Please sign in to comment.