Skip to content
Permalink
Browse files

fix OGRSpatialReferenceH member declaration

  • Loading branch information
jef-n committed Sep 21, 2012
1 parent 331ef1b commit f24862ae1686809b34e14cb18c817c70b2d2b928
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/core/qgscoordinatereferencesystem.h
@@ -35,10 +35,15 @@ typedef struct sqlite3 sqlite3;
//qgis includes
#include "qgis.h"

#ifdef DEBUG
typedef struct OGRSpatialReferenceHS *OGRSpatialReferenceH;
#else
typedef void *OGRSpatialReferenceH;
#endif

class QgsCoordinateReferenceSystem;
typedef void ( *CUSTOM_CRS_VALIDATION )( QgsCoordinateReferenceSystem* );


/** \ingroup core
* Class for storing a coordinate reference system (CRS)
*/
@@ -472,7 +477,7 @@ class CORE_EXPORT QgsCoordinateReferenceSystem
//! Helper for sql-safe value quoting
static QString quotedValue( QString value );

void *mCRS;
OGRSpatialReferenceH mCRS;

bool loadFromDb( QString db, QString expression, QString value );

0 comments on commit f24862a

Please sign in to comment.
You can’t perform that action at this time.