From 23ab337f5c8432bec19f2fb82f265c35cf682bab Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Fri, 25 Sep 2009 17:38:38 +0000 Subject: [PATCH] use the 'arg' class instead of the deprecated 'args' for boost::python docs http://www.boost.org/doc/libs/1_40_0/libs/python/doc/v2/args.html --- bindings/python/mapnik_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/mapnik_map.cpp b/bindings/python/mapnik_map.cpp index e12105d8e..11a765daf 100644 --- a/bindings/python/mapnik_map.cpp +++ b/bindings/python/mapnik_map.cpp @@ -148,7 +148,7 @@ void export_map() class_("Map","The map object.",init >( #if BOOST_VERSION >= 103500 - args("self","width","height","srs"), + ( args("self"),arg("width"),arg("height"),arg("srs") ), #endif "Create a Map with a width and height as integers and, optionally,\n" "an srs string either with a Proj.4 epsg code ('+init=epsg:')\n"