Skip to content
Permalink
Browse files
Fix const
  • Loading branch information
nyalldawson committed Nov 9, 2021
1 parent 37b3eaa commit c15ff5e391bb653358800560b34492992eba13c8
Showing with 4 additions and 4 deletions.
  1. +2 −2 python/analysis/auto_generated/network/qgsgraph.sip.in
  2. +2 −2 src/analysis/network/qgsgraph.h
@@ -162,7 +162,7 @@ Returns the vertex at the given index.
%End


void removeVertex( int index ) const;
void removeVertex( int index );
%Docstring
Removes the vertex at specified ``index``.

@@ -212,7 +212,7 @@ Returns the edge at the given index.



void removeEdge( int index ) const;
void removeEdge( int index );
%Docstring
Removes the edge at specified ``index``.

@@ -213,7 +213,7 @@ class ANALYSIS_EXPORT QgsGraph
* \throws IndexError if the vertex is not found.
* \since QGIS 3.24
*/
void removeVertex( int index ) const;
void removeVertex( int index );
% MethodCode
auto it = sipCpp->mGraphVertices.constFind( a0 );
if ( it != sipCpp->mGraphVertices.constEnd() )
@@ -284,7 +284,7 @@ class ANALYSIS_EXPORT QgsGraph
* \throws IndexError if the vertex is not found.
* \since QGIS 3.24
*/
void removeEdge( int index ) const;
void removeEdge( int index );
% MethodCode
auto it = sipCpp->mGraphEdges.constFind( a0 );
if ( it != sipCpp->mGraphEdges.constEnd() )

0 comments on commit c15ff5e

Please sign in to comment.