Skip to content

Commit 3d44a1e

Browse files
committedMay 15, 2016
fix windows build
1 parent 8fd86a6 commit 3d44a1e

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed
 

‎src/core/qgsvectorfilewriter.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ class CORE_EXPORT QgsVectorFileWriter
160160
/** Interface to convert raw field values to their user-friendly value.
161161
* @note Added in QGIS 2.16
162162
*/
163-
class FieldValueConverter
163+
class CORE_EXPORT FieldValueConverter
164164
{
165165
public:
166166
/** Constructor */

‎src/plugins/georeferencer/qgsmapcoordsdialog.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
3232
public:
3333
explicit QgsGeorefMapToolEmitPoint( QgsMapCanvas *canvas )
3434
: QgsMapTool( canvas )
35+
, mSnappingMarker( nullptr )
3536
{
3637
}
3738

@@ -90,8 +91,9 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
9091
private:
9192
struct MappedPoint
9293
{
94+
MappedPoint() : snapped( false ) {}
9395
QgsPoint point;
94-
bool snapped = false;
96+
bool snapped;
9597
};
9698

9799
MappedPoint mapPoint( QMouseEvent *e )
@@ -106,7 +108,7 @@ class QgsGeorefMapToolEmitPoint : public QgsMapTool
106108
return ret;
107109
}
108110

109-
QgsVertexMarker* mSnappingMarker = nullptr;
111+
QgsVertexMarker* mSnappingMarker;
110112
};
111113

112114
class QgsMapCoordsDialog : public QDialog, private Ui::QgsMapCoordsDialogBase

‎src/providers/ogr/qgsogrdataitems.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ QGISEXTERN QgsDataItem * dataItem( QString thePath, QgsDataItem* parentItem )
372372
return nullptr;
373373
}
374374

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

377377
int numLayers = OGR_DS_GetLayerCount( hDataSource );
378378

0 commit comments

Comments
 (0)
Please sign in to comment.