Boost logo

Boost-Commit :

From: lbourdev_at_[hidden]
Date: 2008-01-14 18:25:11


Author: lbourdev
Date: 2008-01-14 18:25:10 EST (Mon, 14 Jan 2008)
New Revision: 42781
URL: http://svn.boost.org/trac/boost/changeset/42781

Log:
GIL: Changing size_t to std::size_t

Text files modified:
   trunk/boost/gil/color_base.hpp | 6 +++---
   trunk/boost/gil/extension/io/png_io_private.hpp | 4 ++--
   2 files changed, 5 insertions(+), 5 deletions(-)

Modified: trunk/boost/gil/color_base.hpp
==============================================================================
--- trunk/boost/gil/color_base.hpp (original)
+++ trunk/boost/gil/color_base.hpp 2008-01-14 18:25:10 EST (Mon, 14 Jan 2008)
@@ -129,7 +129,7 @@
           _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 @@
           _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 @@
           _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;

Modified: trunk/boost/gil/extension/io/png_io_private.hpp
==============================================================================
--- trunk/boost/gil/extension/io/png_io_private.hpp (original)
+++ trunk/boost/gil/extension/io/png_io_private.hpp 2008-01-14 18:25:10 EST (Mon, 14 Jan 2008)
@@ -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 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 <typename Cs> struct png_color_type {BOOST_STATIC_CONSTANT(int,color_type=0);};


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk