Skip to content
Permalink
Browse files
Use OGRSpatialReferenceH instead of void pointer
  • Loading branch information
mhugent committed Mar 13, 2013
1 parent 07c11a0 commit 62e9e8a213437565048241273626b7fa80e98a49
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/providers/gdal/qgsgdalprovider.cpp
@@ -160,11 +160,7 @@ QgsRasterInterface * QgsGdalProvider::clone() const
bool QgsGdalProvider::crsFromWkt( const char *wkt )
{

#ifdef DEBUG
struct OGRSpatialReferenceHS *hCRS = OSRNewSpatialReference( NULL );
#else
void *hCRS = OSRNewSpatialReference( NULL );
#endif
OGRSpatialReferenceH hCRS = OSRNewSpatialReference( NULL );

if ( OSRImportFromWkt( hCRS, ( char ** ) &wkt ) == OGRERR_NONE )
{

0 comments on commit 62e9e8a

Please sign in to comment.