Skip to content

Commit

Permalink
fix windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed May 15, 2016
1 parent 8fd86a6 commit 3d44a1e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/qgsvectorfilewriter.h
Expand Up @@ -160,7 +160,7 @@ class CORE_EXPORT QgsVectorFileWriter
/** Interface to convert raw field values to their user-friendly value.
* @note Added in QGIS 2.16
*/
class FieldValueConverter
class CORE_EXPORT FieldValueConverter
{
public:
/** Constructor */
Expand Down
6 changes: 4 additions & 2 deletions src/plugins/georeferencer/qgsmapcoordsdialog.h
Expand Up @@ -32,6 +32,7 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
public:
explicit QgsGeorefMapToolEmitPoint( QgsMapCanvas *canvas )
: QgsMapTool( canvas )
, mSnappingMarker( nullptr )
{
}

Expand Down Expand Up @@ -90,8 +91,9 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
private:
struct MappedPoint
{
MappedPoint() : snapped( false ) {}
QgsPoint point;
bool snapped = false;
bool snapped;
};

MappedPoint mapPoint( QMouseEvent *e )
Expand All @@ -106,7 +108,7 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
return ret;
}

QgsVertexMarker* mSnappingMarker = nullptr;
QgsVertexMarker* mSnappingMarker;
};

class QgsMapCoordsDialog : public QDialog, private Ui::QgsMapCoordsDialogBase
Expand Down
2 changes: 1 addition & 1 deletion src/providers/ogr/qgsogrdataitems.cpp
Expand Up @@ -372,7 +372,7 @@ QGISEXTERN QgsDataItem * dataItem( QString thePath, QgsDataItem* parentItem )
return nullptr;
}

QgsDebugMsgLevel( QString( "OGR Driver : %1 " ).arg( OGR_Dr_GetName( hDriver ) ), 2 );
QgsDebugMsgLevel( QString( "OGR Driver : %1" ).arg( OGR_Dr_GetName( hDriver ) ), 2 );

int numLayers = OGR_DS_GetLayerCount( hDataSource );

Expand Down

0 comments on commit 3d44a1e

Please sign in to comment.