use make_shared

This commit is contained in:
Artem Pavlenko 2011-10-19 17:34:09 +01:00
parent 1e70af3c5a
commit 298b7fa253

View file

@ -47,10 +47,10 @@ struct MAPNIK_DECL text_symbolizer : public symbolizer_base
{
text_symbolizer(expression_ptr name, std::string const& face_name,
unsigned size, color const& fill,
text_placements_ptr placements = text_placements_ptr(new text_placements_dummy)
text_placements_ptr placements = boost::make_shared<text_placements_dummy>()
);
text_symbolizer(expression_ptr name, unsigned size, color const& fill,
text_placements_ptr placements = text_placements_ptr(new text_placements_dummy)
text_placements_ptr placements = boost::make_shared<text_placements_dummy>()
);
text_symbolizer(text_symbolizer const& rhs);
text_symbolizer& operator=(text_symbolizer const& rhs);