avoid std::vector declare within mapnik namespace
This commit is contained in:
parent
c6fd387469
commit
96414f9262
2 changed files with 2 additions and 4 deletions
|
@ -33,9 +33,7 @@
|
||||||
|
|
||||||
namespace mapnik
|
namespace mapnik
|
||||||
{
|
{
|
||||||
using std::pair;
|
typedef std::vector<std::pair<double,double> > dash_array;
|
||||||
using std::vector;
|
|
||||||
typedef vector<pair<double,double> > dash_array;
|
|
||||||
|
|
||||||
// if you add new tokens, don't forget to add them to the corresponding
|
// if you add new tokens, don't forget to add them to the corresponding
|
||||||
// string array in the cpp file.
|
// string array in the cpp file.
|
||||||
|
|
|
@ -514,7 +514,7 @@ void map_parser::parse_fontset(Map & map, xml_node const& fset)
|
||||||
|
|
||||||
// XXX Hack because map object isn't accessible by text_symbolizer
|
// XXX Hack because map object isn't accessible by text_symbolizer
|
||||||
// when it's parsed
|
// when it's parsed
|
||||||
fontsets_.insert(pair<std::string, font_set>(name, fontset));
|
fontsets_.insert(std::pair<std::string, font_set>(name, fontset));
|
||||||
}
|
}
|
||||||
catch (const config_error & ex)
|
catch (const config_error & ex)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue