fix compile of shield_symbolizer.hpp on windows

This commit is contained in:
Dane Springmeyer 2012-02-23 09:22:51 -08:00
parent 2955983264
commit 2d1f2d19cc

View file

@ -36,8 +36,9 @@ namespace mapnik
struct MAPNIK_DECL shield_symbolizer : public text_symbolizer, struct MAPNIK_DECL shield_symbolizer : public text_symbolizer,
public symbolizer_with_image public symbolizer_with_image
{ {
shield_symbolizer(text_placements_ptr placements = text_placements_ptr( // Note - we do not use boost::make_shared below as VC2008 and VC2010 are
boost::make_shared<text_placements_dummy>())); // not able to compile make_shared used within a constructor
shield_symbolizer(text_placements_ptr placements = text_placements_ptr(new text_placements_dummy));
shield_symbolizer(expression_ptr name, shield_symbolizer(expression_ptr name,
std::string const& face_name, std::string const& face_name,
float size, float size,