From 1fd4ed0a55dfe1e596ba44d37dc97a7cc593d675 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Thu, 2 Apr 2009 16:35:08 +0000 Subject: [PATCH] fix missing const - thanks Denis - closes #273 and #287 --- AUTHORS | 1 + include/mapnik/map.hpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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();