Skip to content
Permalink
Browse files

No string to fid null conversion for now

  • Loading branch information
m-kuhn committed Oct 2, 2018
1 parent c35ea6e commit 1210dca47f88cb847230cf8d58219a9ee4a825d7
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsfeatureid.h
@@ -28,7 +28,7 @@ typedef qint64 QgsFeatureId SIP_SKIP;
#define FID_IS_NEW(fid) ( fid < 0 && fid != std::numeric_limits<QgsFeatureId>::min() )
#define FID_TO_NUMBER(fid) static_cast<qint64>( fid )
#define FID_TO_STRING(fid) ( fid != std::numeric_limits<QgsFeatureId>::min() ? QString::number( fid ) : QStringLiteral( "NULL" ) )
#define STRING_TO_FID(str) ( ( fid != QLatin1String( "NULL" ) ) ? (str).toLongLong() : std::numeric_limits<QgsFeatureId>::min() )
#define STRING_TO_FID(str) ( (str).toLongLong() )

#ifndef SIP_RUN
typedef QSet<QgsFeatureId> QgsFeatureIds;

0 comments on commit 1210dca

Please sign in to comment.
You can’t perform that action at this time.