minor syntax corrections to comply with ansi c++

This commit is contained in:
Artem Pavlenko 2006-03-08 23:02:28 +00:00
parent 9948f41b1b
commit ce93c69fa3
5 changed files with 5 additions and 5 deletions

View file

@ -33,7 +33,7 @@ namespace mapnik
enum {
Point = 1,
LineString = 2,
Polygon = 3,
Polygon = 3
};
template <typename T>

View file

@ -120,7 +120,7 @@ namespace mapnik
expression<FeatureT>* left_;
expression<FeatureT>* right_;
};
};
}
#endif //

View file

@ -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";

View file

@ -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;

View file

@ -24,7 +24,7 @@
#include <iostream>
#include <stdexcept>
DATASOURCE_PLUGIN(shape_datasource);
DATASOURCE_PLUGIN(shape_datasource)
shape_datasource::shape_datasource(const parameters &params)
: shape_name_(params.get("file")),