We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8be21a commit 89b49a1Copy full SHA for 89b49a1
src/core/geometry/qgswkbptr.cpp
@@ -35,12 +35,10 @@ QgsWKBTypes::Type QgsConstWkbPtr::readHeader() const
35
36
char wkbEndian;
37
*this >> wkbEndian;
38
- mEndianSwap = ( wkbEndian != QgsApplication::endian() );
+ mEndianSwap = wkbEndian != QgsApplication::endian();
39
40
int wkbType;
41
*this >> wkbType;
42
- if ( mEndianSwap )
43
- QgsApplication::endian_swap( wkbType );
44
45
return static_cast<QgsWKBTypes::Type>( wkbType );
46
}
0 commit comments