Skip to content
Permalink
Browse files

Fix 32bit build

  • Loading branch information
jef-n committed Apr 3, 2021
1 parent 12905cc commit ca7c033a41f831dc1b6be3107b800d970a2acb86
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/core/geometry/qgswkbptr.h
@@ -78,8 +78,10 @@ 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
//! 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
inline const QgsWkbPtr &operator>>( unsigned int &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( char &v ) const { read( v ); return *this; } SIP_SKIP
inline const QgsWkbPtr &operator>>( QgsWkbTypes::Type &v ) const { read( v ); return *this; } SIP_SKIP
@@ -90,8 +92,10 @@ 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
//! Writes a size as int to the pointer
inline QgsWkbPtr &operator<<( qsizetype r ) { int v = r; write( v ); return *this; } SIP_SKIP
#endif
//! Writes an unsigned int to the pointer
inline QgsWkbPtr &operator<<( unsigned int v ) { write( v ); return *this; } SIP_SKIP
//! Writes a char to the pointer

0 comments on commit ca7c033

Please sign in to comment.