We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c35ea6e commit 1210dcaCopy full SHA for 1210dca
src/core/qgsfeatureid.h
@@ -28,7 +28,7 @@ typedef qint64 QgsFeatureId SIP_SKIP;
28
#define FID_IS_NEW(fid) ( fid < 0 && fid != std::numeric_limits<QgsFeatureId>::min() )
29
#define FID_TO_NUMBER(fid) static_cast<qint64>( fid )
30
#define FID_TO_STRING(fid) ( fid != std::numeric_limits<QgsFeatureId>::min() ? QString::number( fid ) : QStringLiteral( "NULL" ) )
31
-#define STRING_TO_FID(str) ( ( fid != QLatin1String( "NULL" ) ) ? (str).toLongLong() : std::numeric_limits<QgsFeatureId>::min() )
+#define STRING_TO_FID(str) ( (str).toLongLong() )
32
33
#ifndef SIP_RUN
34
typedef QSet<QgsFeatureId> QgsFeatureIds;
0 commit comments