Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

include limits header, now needed on linux after refactoring of heade…

…rs upstream in mapnik
  • Loading branch information...
commit b9f7ac39a336464d2919adef992ef9ad2f7e3366 1 parent ec76c21
@springmeyer springmeyer authored
Showing with 6 additions and 3 deletions.
  1. +6 −3 src/mapnik_layer.cpp
View
9 src/mapnik_layer.cpp
@@ -12,6 +12,9 @@
#include <mapnik/version.hpp>
#include <mapnik/layer.hpp>
+// stl
+#include <limits>
+
#if MAPNIK_VERSION <= 200000
#define active isActive
#define min_zoom getMinZoom
@@ -44,15 +47,15 @@ void Layer::Initialize(Handle<Object> target) {
target->Set(String::NewSymbol("Layer"),constructor->GetFunction());
}
-Layer::Layer(std::string const& name) :
+Layer::Layer(std::string const& name):
ObjectWrap(),
layer_(boost::make_shared<mapnik::layer>(name)) {}
-Layer::Layer(std::string const& name, std::string const& srs) :
+Layer::Layer(std::string const& name, std::string const& srs):
ObjectWrap(),
layer_(boost::make_shared<mapnik::layer>(name,srs)) {}
-Layer::Layer() :
+Layer::Layer():
ObjectWrap(),
layer_() {}
Please sign in to comment.
Something went wrong with that request. Please try again.