Revert "ditch boost/function" - refs #2465

This reverts commit 24052580b9.
This commit is contained in:
Dane Springmeyer 2014-09-30 10:19:25 -07:00
parent 1452c5b92f
commit 6be1eb94c2

View file

@ -31,9 +31,7 @@
#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
{ {
@ -88,7 +86,7 @@ private:
Detector &detector, Detector &detector,
markers_placement_params const& params) markers_placement_params const& params)
{ {
static const std::map<marker_placement_e, std::function<markers_placement( static const std::map<marker_placement_e, boost::function<markers_placement(
Locator &locator, Locator &locator,
Detector &detector, Detector &detector,
markers_placement_params const& params)>> factories = markers_placement_params const& params)>> factories =