ditch boost/function

This commit is contained in:
Dane Springmeyer 2014-09-29 17:51:05 -07:00
parent d0b167affc
commit 24052580b9

View file

@ -31,7 +31,9 @@
#include <mapnik/symbolizer_enumerations.hpp> #include <mapnik/symbolizer_enumerations.hpp>
#include <mapnik/util/variant.hpp> #include <mapnik/util/variant.hpp>
#include <boost/functional/value_factory.hpp> #include <boost/functional/value_factory.hpp>
#include <boost/function.hpp>
// stl
#include <map>
namespace mapnik namespace mapnik
{ {
@ -86,7 +88,7 @@ private:
Detector &detector, Detector &detector,
markers_placement_params const& params) markers_placement_params const& params)
{ {
static const std::map<marker_placement_e, boost::function<markers_placement( static const std::map<marker_placement_e, std::function<markers_placement(
Locator &locator, Locator &locator,
Detector &detector, Detector &detector,
markers_placement_params const& params)>> factories = markers_placement_params const& params)>> factories =