diff --git a/AUTHORS b/AUTHORS index 8e2b101c3..2f8b43499 100644 --- a/AUTHORS +++ b/AUTHORS @@ -28,6 +28,7 @@ Patches - Krzysztof Godlewski - Beau Gunderson - John Hague + - Dennis Luxen - Tom MacWright - Dražen Odobašić - Martijn van Oosterhout diff --git a/include/mapnik/map.hpp b/include/mapnik/map.hpp index 9a7e95f05..54973e2c4 100644 --- a/include/mapnik/map.hpp +++ b/include/mapnik/map.hpp @@ -348,7 +348,7 @@ namespace mapnik ~Map(); inline void setAspectFixMode(aspect_fix_mode afm) { aspectFixMode_ = afm; } - inline aspect_fix_mode getAspectFixMode() { return aspectFixMode_; } + inline aspect_fix_mode getAspectFixMode() const { return aspectFixMode_; } private: void fixAspectRatio();