summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/image
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/image')
-rw-r--r--2005/i/robert/src/image/image_reader.hh2
-rw-r--r--2005/i/robert/src/image/raw_reader.cc2
-rw-r--r--2005/i/robert/src/image/raw_reader.hh2
3 files changed, 3 insertions, 3 deletions
diff --git a/2005/i/robert/src/image/image_reader.hh b/2005/i/robert/src/image/image_reader.hh
index fd6d308..81020bd 100644
--- a/2005/i/robert/src/image/image_reader.hh
+++ b/2005/i/robert/src/image/image_reader.hh
@@ -34,7 +34,7 @@ class ImageReader
virtual ~ImageReader (void) { }
/// Récupère les paramètres de l'image.
virtual void getParam (int &width, int &height,
- Image::PixelFormat &pixelFormat) const = 0;
+ Image::PixelFormat &pixelFormat) = 0;
/// Lit une image, lance une exception en cas d'erreur.
virtual void read (uint8_t *buf, unsigned size) = 0;
};
diff --git a/2005/i/robert/src/image/raw_reader.cc b/2005/i/robert/src/image/raw_reader.cc
index e77df08..f3e87b6 100644
--- a/2005/i/robert/src/image/raw_reader.cc
+++ b/2005/i/robert/src/image/raw_reader.cc
@@ -38,7 +38,7 @@ RawReader::RawReader (DataInput &data, int width, int height,
/// Récupère les paramètres de l'image.
void
RawReader::getParam (int &width, int &height,
- Image::PixelFormat &pixelFormat) const
+ Image::PixelFormat &pixelFormat)
{
width = width_;
height = height_;
diff --git a/2005/i/robert/src/image/raw_reader.hh b/2005/i/robert/src/image/raw_reader.hh
index e62452d..b5ecd78 100644
--- a/2005/i/robert/src/image/raw_reader.hh
+++ b/2005/i/robert/src/image/raw_reader.hh
@@ -41,7 +41,7 @@ class RawReader : public ImageReader
Image::PixelFormat pixelFormat);
/// Récupère les paramètres de l'image.
void getParam (int &width, int &height,
- Image::PixelFormat &pixelFormat) const;
+ Image::PixelFormat &pixelFormat);
/// Lit une image, lance une exception en cas d'erreur.
void read (uint8_t *buf, unsigned size);
};