fix missing const - thanks Denis - closes #273 and #287

This commit is contained in:
Dane Springmeyer 2009-04-02 16:35:08 +00:00
parent af5a5b61ed
commit 1fd4ed0a55
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ Patches
- Krzysztof Godlewski
- Beau Gunderson
- John Hague
- Dennis Luxen
- Tom MacWright
- Dražen Odobašić
- Martijn van Oosterhout

View File

@ -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();