From ba0c18a228b33ee9fddb3f0f480c89e6fddb5176 Mon Sep 17 00:00:00 2001 From: artemp Date: Mon, 4 May 2015 11:22:06 +0200 Subject: [PATCH] c++ style --- include/mapnik/image.hpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/mapnik/image.hpp b/include/mapnik/image.hpp index 070f1164e..fc0eda818 100644 --- a/include/mapnik/image.hpp +++ b/include/mapnik/image.hpp @@ -99,18 +99,18 @@ public: void swap(image & rhs); pixel_type& operator() (std::size_t i, std::size_t j); - const pixel_type& operator() (std::size_t i, std::size_t j) const; + pixel_type const& operator() (std::size_t i, std::size_t j) const; std::size_t width() const; std::size_t height() const; std::size_t size() const; std::size_t row_size() const; void set(pixel_type const& t); - const pixel_type* getData() const; + pixel_type const* getData() const; pixel_type* getData(); - const unsigned char* getBytes() const; + unsigned char const* getBytes() const; unsigned char* getBytes(); - const pixel_type* getRow(std::size_t row) const; - const pixel_type* getRow(std::size_t row, std::size_t x0) const; + pixel_type const* getRow(std::size_t row) const; + pixel_type const* getRow(std::size_t row, std::size_t x0) const; pixel_type* getRow(std::size_t row); pixel_type* getRow(std::size_t row, std::size_t x0); void setRow(std::size_t row, pixel_type const* buf, std::size_t size);