precommit

This commit is contained in:
Mathis Logemann 2022-08-17 17:35:25 +02:00
parent 213be3777c
commit eb3823aa4a
17 changed files with 28 additions and 27 deletions

View file

@ -29,7 +29,10 @@ class MAPNIK_DECL datasource_plugin
};
#define DATASOURCE_PLUGIN_IMPL(classname, pluginclassname) \
const char* classname::name() const { return kName; } \
const char* classname::name() const \
{ \
return kName; \
} \
mapnik::datasource_ptr classname::create(mapnik::parameters const& params) const \
{ \
return std::make_shared<pluginclassname>(params); \

View file

@ -56,7 +56,6 @@ DATASOURCE_PLUGIN_EXPORT(pgraster_datasource_plugin);
DATASOURCE_PLUGIN_EMPTY_AFTER_LOAD(pgraster_datasource_plugin);
DATASOURCE_PLUGIN_EMPTY_BEFORE_UNLOAD(pgraster_datasource_plugin);
const std::string pgraster_datasource::RASTER_COLUMNS = "raster_columns";
const std::string pgraster_datasource::RASTER_OVERVIEWS = "raster_overviews";
const std::string pgraster_datasource::SPATIAL_REF_SYS = "spatial_ref_system";

View file

@ -35,7 +35,6 @@
using mapnik::datasource;
using mapnik::parameters;
DATASOURCE_PLUGIN_EXPORT(mapnik::memory_datasource_plugin)
namespace mapnik {