Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 6, 2020
1 parent fe7470c commit 0b6af81
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 0 deletions.
Expand Up @@ -30,6 +30,8 @@ Constructor for QgsMapBoxGlStyleConverter.
The specified MapBox GL ``style`` configuration will be converted.
%End

~QgsMapBoxGlStyleConverter();

QgsVectorTileRenderer *renderer() const /Factory/;
%Docstring
Returns a new instance of a vector tile renderer representing the converted style,
Expand Down
1 change: 1 addition & 0 deletions python/core/core_auto.sip
Expand Up @@ -577,6 +577,7 @@
%Include auto_generated/validity/qgsabstractvaliditycheck.sip
%Include auto_generated/validity/qgsvaliditycheckcontext.sip
%Include auto_generated/validity/qgsvaliditycheckregistry.sip
%Include auto_generated/vectortile/qgsmapboxglstyleconverter.sip
%Include auto_generated/vectortile/qgsvectortilebasiclabeling.sip
%Include auto_generated/vectortile/qgsvectortilebasicrenderer.sip
%Include auto_generated/vectortile/qgsvectortilelabeling.sip
Expand Down
2 changes: 2 additions & 0 deletions src/core/vectortile/qgsmapboxglstyleconverter.cpp
Expand Up @@ -23,6 +23,8 @@ QgsMapBoxGlStyleConverter::QgsMapBoxGlStyleConverter( const QVariantMap &style )

}

QgsMapBoxGlStyleConverter::~QgsMapBoxGlStyleConverter() = default;

QgsVectorTileRenderer *QgsMapBoxGlStyleConverter::renderer() const
{
return mRenderer ? mRenderer->clone() : nullptr;
Expand Down
2 changes: 2 additions & 0 deletions src/core/vectortile/qgsmapboxglstyleconverter.h
Expand Up @@ -42,6 +42,8 @@ class CORE_EXPORT QgsMapBoxGlStyleConverter
*/
QgsMapBoxGlStyleConverter( const QVariantMap &style );

~QgsMapBoxGlStyleConverter();

/**
* Returns a new instance of a vector tile renderer representing the converted style,
* or NULLPTR if the style could not be converted successfully.
Expand Down

0 comments on commit 0b6af81

Please sign in to comment.