Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix compilation issue
  • Loading branch information
nirvn committed May 14, 2021
1 parent d2ccd82 commit 204fc2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/geometry/qgswkbptr.h
Expand Up @@ -78,7 +78,7 @@ class CORE_EXPORT QgsWkbPtr
inline const QgsWkbPtr &operator>>( double &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( float &r ) const { double v; read( v ); r = v; return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( int &v ) const { read( v ); return *this; } SIP_SKIP
#ifndef Q_PROCESSOR_X86_32
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
//! Reads an integer value into a qsizetype
inline const QgsWkbPtr &operator>>( qsizetype &r ) const { int v; read( v ); r = v; return *this; } SIP_SKIP
#endif
Expand All @@ -92,7 +92,7 @@ class CORE_EXPORT QgsWkbPtr
inline QgsWkbPtr &operator<<( float r ) { double v = r; write( v ); return *this; } SIP_SKIP
//! Writes an int to the pointer
inline QgsWkbPtr &operator<<( int v ) { write( v ); return *this; } SIP_SKIP
#ifndef Q_PROCESSOR_X86_32
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
//! Writes a size as int to the pointer
inline QgsWkbPtr &operator<<( qsizetype r ) { int v = r; write( v ); return *this; } SIP_SKIP
#endif
Expand Down

0 comments on commit 204fc2a

Please sign in to comment.