[SCM] Multi-format 1D/2D barcode image processing library branch, upstream, updated. 24d4480bc48cf9eabf7b2bd2f528248b0e458809

rpechayr rpechayr at 59b500cc-1b3d-0410-9834-0bbf25fbcc57
Wed Aug 4 01:32:24 UTC 2010


The following commit has been merged in the upstream branch:
commit 35fa9053981798a8f0543e6bd824c4103feac2ef
Author: rpechayr <rpechayr at 59b500cc-1b3d-0410-9834-0bbf25fbcc57>
Date:   Thu Jun 24 05:04:36 2010 +0000

    [cpp] added const qualifiers that had been removed (accidentaly\?) to LuminanceSourse pure virtual methods. Fixed build problem of ScanTest. Please check that ScanTest builds if you revert this, it will consist of removing const qualifyers to implementation these methods in sublass of LuminancesSource
    
    git-svn-id: http://zxing.googlecode.com/svn/trunk@1461 59b500cc-1b3d-0410-9834-0bbf25fbcc57

diff --git a/cpp/core/src/zxing/LuminanceSource.h b/cpp/core/src/zxing/LuminanceSource.h
index e23621e..d39f06f 100644
--- a/cpp/core/src/zxing/LuminanceSource.h
+++ b/cpp/core/src/zxing/LuminanceSource.h
@@ -30,10 +30,10 @@ public:
   LuminanceSource();
   virtual ~LuminanceSource();
 
-  virtual int getWidth() = 0;
-  virtual int getHeight() = 0;
+  virtual int getWidth() const = 0;
+  virtual int getHeight() const = 0;
 
-  virtual unsigned char getPixel(int x, int y) = 0;
+  virtual unsigned char getPixel(int x, int y) const = 0;
   virtual unsigned char* copyMatrix();
 };
 

-- 
Multi-format 1D/2D barcode image processing library



More information about the Pkg-google-commits mailing list