Skip to content

Commit d11b3d5

Browse files
committed
Fix warnings about -Wweak-vtables (fix previous commit)
1 parent c616e42 commit d11b3d5

5 files changed

Lines changed: 14 additions & 0 deletions

File tree

apps/gdalalg_pipeline.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
#include "gdalalg_vector_read.h"
2323
#include "gdalalg_vector_write.h"
2424

25+
//! @cond Doxygen_Suppress
26+
2527
/************************************************************************/
2628
/* GDALPipelineStepAlgorithm() */
2729
/************************************************************************/
@@ -253,3 +255,5 @@ bool GDALPipelineAlgorithm::RunImpl(GDALProgressFunc, void *)
253255
}
254256

255257
GDAL_STATIC_REGISTER_ALG(GDALPipelineAlgorithm);
258+
259+
//! @endcond

apps/gdalalg_raster_pipeline.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ GDALRasterPipelineStepAlgorithm::GDALRasterPipelineStepAlgorithm(
9494
}
9595
}
9696

97+
GDALRasterPipelineStepAlgorithm::~GDALRasterPipelineStepAlgorithm() = default;
98+
9799
/************************************************************************/
98100
/* GDALRasterPipelineStepAlgorithm::AddHiddenInputDatasetArg() */
99101
/************************************************************************/

apps/gdalalg_raster_pipeline.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
class GDALRasterPipelineStepAlgorithm /* non final */
2626
: public GDALPipelineStepAlgorithm
2727
{
28+
public:
29+
~GDALRasterPipelineStepAlgorithm() override;
30+
2831
protected:
2932
GDALRasterPipelineStepAlgorithm(const std::string &name,
3033
const std::string &description,

apps/gdalalg_vector_pipeline.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ GDALVectorPipelineStepAlgorithm::GDALVectorPipelineStepAlgorithm(
7676
}
7777
}
7878

79+
GDALVectorPipelineStepAlgorithm::~GDALVectorPipelineStepAlgorithm() = default;
80+
7981
/************************************************************************/
8082
/* GDALVectorPipelineStepAlgorithm::AddInputArgs() */
8183
/************************************************************************/

apps/gdalalg_vector_pipeline.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
class GDALVectorPipelineStepAlgorithm /* non final */
3232
: public GDALPipelineStepAlgorithm
3333
{
34+
public:
35+
~GDALVectorPipelineStepAlgorithm() override;
36+
3437
protected:
3538
GDALVectorPipelineStepAlgorithm(const std::string &name,
3639
const std::string &description,

0 commit comments

Comments
 (0)