Skip to content
Permalink
Browse files

Force compilers to generate vtable for QgsRendererV2Metadata

  • Loading branch information
mbernasocchi authored and m-kuhn committed Oct 24, 2013
1 parent 00c0cef commit 86ddc49acf3599e6d959f462da1d870dd6ba148d
@@ -88,6 +88,8 @@ QgsRendererV2AbstractMetadata* QgsRendererV2Registry::rendererMetadata( QString
return mRenderers.value( rendererName );
}

QgsRendererV2Metadata::~QgsRendererV2Metadata(){}

QStringList QgsRendererV2Registry::renderersList()
{
return mRenderersOrder;
@@ -103,6 +103,8 @@ class CORE_EXPORT QgsRendererV2Metadata : public QgsRendererV2AbstractMetadata
, mCreateFromSldFunc( pfCreateFromSld )
{}

virtual ~QgsRendererV2Metadata();

virtual QgsFeatureRendererV2* createRenderer( QDomElement& elem ) { return mCreateFunc ? mCreateFunc( elem ) : NULL; }
virtual QgsRendererV2Widget* createRendererWidget( QgsVectorLayer* layer, QgsStyleV2* style, QgsFeatureRendererV2* renderer )
{ return mWidgetFunc ? mWidgetFunc( layer, style, renderer ) : NULL; }

0 comments on commit 86ddc49

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