minor syntax corrections to comply with ansi c++
This commit is contained in:
parent
9948f41b1b
commit
ce93c69fa3
5 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ namespace mapnik
|
|||
enum {
|
||||
Point = 1,
|
||||
LineString = 2,
|
||||
Polygon = 3,
|
||||
Polygon = 3
|
||||
};
|
||||
|
||||
template <typename T>
|
||||
|
|
|
@ -120,7 +120,7 @@ namespace mapnik
|
|||
expression<FeatureT>* left_;
|
||||
expression<FeatureT>* right_;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
#endif //
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include <sstream>
|
||||
#include "connection_manager.hpp"
|
||||
|
||||
DATASOURCE_PLUGIN(postgis_datasource);
|
||||
DATASOURCE_PLUGIN(postgis_datasource)
|
||||
|
||||
const std::string postgis_datasource::GEOMETRY_COLUMNS="geometry_columns";
|
||||
const std::string postgis_datasource::SPATIAL_REF_SYS="spatial_ref_system";
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include "raster_info.hpp"
|
||||
#include <boost/lexical_cast.hpp>
|
||||
|
||||
DATASOURCE_PLUGIN(raster_datasource);
|
||||
DATASOURCE_PLUGIN(raster_datasource)
|
||||
|
||||
using std::cerr;
|
||||
using std::endl;
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
#include <iostream>
|
||||
#include <stdexcept>
|
||||
|
||||
DATASOURCE_PLUGIN(shape_datasource);
|
||||
DATASOURCE_PLUGIN(shape_datasource)
|
||||
|
||||
shape_datasource::shape_datasource(const parameters ¶ms)
|
||||
: shape_name_(params.get("file")),
|
||||
|
|
Loading…
Reference in a new issue