diff --git a/src/core/geometry/qgsgeometry.h b/src/core/geometry/qgsgeometry.h index 70bbb5bd6788..9936ee73a303 100644 --- a/src/core/geometry/qgsgeometry.h +++ b/src/core/geometry/qgsgeometry.h @@ -104,7 +104,7 @@ class CORE_EXPORT QgsGeometry enum OperationResult { Success = 0, //!< Operation succeeded - NothingHappened, //!< Nothing happened, without any error + NothingHappened = 1000, //!< Nothing happened, without any error InvalidBaseGeometry, //!< The base geometry on which the operation is done is invalid or empty InvalidInput, //!< The input geometry (ring, part, split line, etc.) has not the correct geometry type GeometryEngineError, //!< Geometry engine misses a method implemented or an error occured in the geometry engine diff --git a/src/core/geometry/qgsgeometryengine.h b/src/core/geometry/qgsgeometryengine.h index fca801dac020..02e171888557 100644 --- a/src/core/geometry/qgsgeometryengine.h +++ b/src/core/geometry/qgsgeometryengine.h @@ -40,7 +40,7 @@ class CORE_EXPORT QgsGeometryEngine enum EngineOperationResult { Success = 0, //!< Operation succeeded - NothingHappened, //!< Nothing happened, without any error + NothingHappened = 1000, //!< Nothing happened, without any error MethodNotImplemented, //!< Method not implemented in geometry engine EngineError, //!< Error occured in the geometry engine NodedGeometryError, //!< Error occured while creating a noded geometry