Skip to content

Commit

Permalink
Fix clang warning
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Dec 16, 2022
1 parent 50a157a commit 2d4f50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/core/mesh/qgsmeshlayer.cpp
Expand Up @@ -25,7 +25,6 @@
#include "qgslogger.h"
#include "qgsmaplayerlegend.h"
#include "qgsmaplayerfactory.h"
#include "qgsmaplayerutils.h"
#include "qgsmeshdataprovider.h"
#include "qgsmeshdatasetgroupstore.h"
#include "qgsmeshlayer.h"
Expand Down Expand Up @@ -72,7 +71,7 @@ QgsMeshLayer::QgsMeshLayer( const QString &meshLayerPath,
{
flags |= QgsDataProvider::ForceReadOnly;
}
setDataSourcePrivate( meshLayerPath, baseName, providerKey, providerOptions, flags );
QgsMeshLayer::setDataSourcePrivate( meshLayerPath, baseName, providerKey, providerOptions, flags );
resetDatasetGroupTreeItem();
setLegend( QgsMapLayerLegend::defaultMeshLegend( this ) );

Expand Down
2 changes: 1 addition & 1 deletion src/core/mesh/qgsmeshlayer.h
Expand Up @@ -1007,7 +1007,7 @@ class CORE_EXPORT QgsMeshLayer : public QgsMapLayer, public QgsAbstractProfileSo
void checkSymbologyConsistency();

void setDataSourcePrivate( const QString &dataSource, const QString &baseName, const QString &provider,
const QgsDataProvider::ProviderOptions &options, QgsDataProvider::ReadFlags flags ) override;
const QgsDataProvider::ProviderOptions &options, QgsDataProvider::ReadFlags flags ) final;
};

#endif //QGSMESHLAYER_H

0 comments on commit 2d4f50d

Please sign in to comment.