Skip to content

Commit 2d7cb37

Browse files
committedNov 25, 2014
fix windows build
1 parent 5dd2f51 commit 2d7cb37

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/core/qgsmaplayerregistry.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ class CORE_EXPORT QgsMapLayerRegistry : public QObject, public QgsSingleton<QgsM
241241
QMap<QString, QgsMapLayer*> mMapLayers;
242242
QSet<QgsMapLayer*> mOwnedLayers;
243243

244-
friend class QgsSingleton; // Let QgsSingleton access private constructor
244+
friend class QgsSingleton<QgsMapLayerRegistry>; // Let QgsSingleton access private constructor
245245
}; // class QgsMapLayerRegistry
246246

247247
#endif //QgsMapLayerRegistry_H

‎src/gui/qgisgui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ namespace QgisGui
8080
* @return QPair<QString, QString> where first is the file name and second is
8181
* the file type
8282
*/
83-
QPair<QString, QString> getSaveAsImageName( QWidget * theParent, QString theMessage, QString defaultFilename = QString::null );
83+
QPair<QString, QString> GUI_EXPORT getSaveAsImageName( QWidget * theParent, QString theMessage, QString defaultFilename = QString::null );
8484

8585
/**
8686
Convenience function for readily creating file filters.

0 commit comments

Comments
 (0)