correct clog message + formatting

This commit is contained in:
artemp 2015-11-02 14:27:57 +00:00
parent 2acafe78ee
commit 439fcd0426
2 changed files with 1 additions and 2 deletions

View file

@ -78,7 +78,7 @@ struct feature_collection_grammar :
boost::phoenix::function<ErrorHandler> const error_handler;
};
template <typename Iterator, typename FeatureType,typename FeatureCallback = default_feature_callback, typename ErrorHandler = error_handler<Iterator> >
template <typename Iterator, typename FeatureType, typename FeatureCallback = default_feature_callback, typename ErrorHandler = error_handler<Iterator> >
struct feature_grammar_callback :
qi::grammar<Iterator, void(context_ptr const&, std::size_t&, FeatureCallback &), space_type>
{

View file

@ -89,7 +89,6 @@ std::pair<bool,box2d<double>> process_geojson_file(T & boxes, std::string const&
if (!boost::spirit::qi::phrase_parse(start, end, (geojson_datasource_static_bbox_grammar)(boost::phoenix::ref(boxes)) , space))
{
std::clog << "mapnik-index (GeoJSON) : could extract bounding boxes from : '" << filename << "'";
std::clog << " expected FeatureCollection" << std::endl;
return std::make_pair(false, extent);
}
}