2
0
mirror of https://github.com/boostorg/gil.git synced 2026-02-19 14:32:10 +00:00

GIL: Changing size_t to std::size_t

[SVN r42781]
This commit is contained in:
Lubomir Bourdev
2008-01-14 23:25:10 +00:00
parent f973cf2e09
commit 08db3e7bec
2 changed files with 5 additions and 5 deletions

View File

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

View File

@@ -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 <typename Cs> struct png_color_type {BOOST_STATIC_CONSTANT(int,color_type=0);};