Skip to content
Permalink
Browse files
Fix compilation issue
  • Loading branch information
nirvn committed May 14, 2021
1 parent d2ccd82 commit 204fc2a34f3faf9072c3537c9c00f6a2cb3128a7
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/core/geometry/qgswkbptr.h
@@ -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
@@ -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

0 comments on commit 204fc2a

Please sign in to comment.