Skip to content
Permalink
Browse files
[spatialite] Fix compilation against qt6
  • Loading branch information
nirvn authored and nyalldawson committed Jul 18, 2021
1 parent 2e6b93b commit 58497b91a17928cd48559fd9ad28a0ad41b61415
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/providers/spatialite/qgsspatialiteprovider.cpp
@@ -961,8 +961,8 @@ void QgsSpatiaLiteProvider::fetchConstraints()
const QChar delimiter { field.at( 0 ) };
if ( delimiter == '"' || delimiter == '`' )
{
const int start { field.indexOf( delimiter ) + 1};
const int end { field.indexOf( delimiter, start ) };
const int start = field.indexOf( delimiter ) + 1;
const int end = field.indexOf( delimiter, start );
fieldName = field.mid( start, end - start );
definition = field.mid( end + 1 );
}

0 comments on commit 58497b9

Please sign in to comment.