From 08db3e7bec0c0936a4237e3ca89101fa5d6dff83 Mon Sep 17 00:00:00 2001 From: Lubomir Bourdev Date: Mon, 14 Jan 2008 23:25:10 +0000 Subject: [PATCH] GIL: Changing size_t to std::size_t [SVN r42781] --- include/boost/gil/color_base.hpp | 6 +++--- include/boost/gil/extension/io/png_io_private.hpp | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/boost/gil/color_base.hpp b/include/boost/gil/color_base.hpp index aa416b053..07eff5f66 100644 --- a/include/boost/gil/color_base.hpp +++ b/include/boost/gil/color_base.hpp @@ -129,7 +129,7 @@ public: _v1(*memunit_advanced(semantic_at_c<1>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { if (i==0) return _v0; return _v1; } @@ -245,7 +245,7 @@ public: _v3(*memunit_advanced(semantic_at_c<3>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { switch (i) { case 0: return _v0; case 1: return _v1; @@ -316,7 +316,7 @@ public: _v4(*memunit_advanced(semantic_at_c<4>(ptr),diff)) {} // Support for planar_pixel_reference operator[] - Element at_c_dynamic(size_t i) const { + Element at_c_dynamic(std::size_t i) const { switch (i) { case 0: return _v0; case 1: return _v1; diff --git a/include/boost/gil/extension/io/png_io_private.hpp b/include/boost/gil/extension/io/png_io_private.hpp index 2840f1c33..17fd74d04 100644 --- a/include/boost/gil/extension/io/png_io_private.hpp +++ b/include/boost/gil/extension/io/png_io_private.hpp @@ -5,7 +5,7 @@ Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt). - See http://opensource.adobe.com/gil for most recent version including documentation. + See http://stlab.adobe.com/gil for most recent version including documentation. */ /*************************************************************************************************/ @@ -28,7 +28,7 @@ namespace boost { namespace gil { namespace detail { -static const size_t PNG_BYTES_TO_CHECK = 4; +static const std::size_t PNG_BYTES_TO_CHECK = 4; // lbourdev: These can be greatly simplified, for example: template struct png_color_type {BOOST_STATIC_CONSTANT(int,color_type=0);};