diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
commit | 99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch) | |
tree | 52fe52817fe45a81a7e03254b614b67587d83e37 /src/kernel/qpixmap_x11.cpp | |
parent | 630dcedfb398b350522742f0ab4d1255ac84da85 (diff) | |
download | tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz tqt3-99e56ba8db70324cc5c7ab416a3b48171613bd59.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/kernel/qpixmap_x11.cpp')
-rw-r--r-- | src/kernel/qpixmap_x11.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qpixmap_x11.cpp b/src/kernel/qpixmap_x11.cpp index 1acdf16a2..897dd4cfd 100644 --- a/src/kernel/qpixmap_x11.cpp +++ b/src/kernel/qpixmap_x11.cpp @@ -290,7 +290,7 @@ extern const uchar *qt_get_bitflip_array(); // defined in qimage.cpp static uchar *flip_bits( const uchar *bits, int len ) { - register const uchar *p = bits; + const uchar *p = bits; const uchar *end = p + len; uchar *newdata = new uchar[len]; uchar *b = newdata; @@ -958,7 +958,7 @@ TQImage TQPixmap::convertToImage() const image.setColor( 0, tqRgb(255,255,255) ); image.setColor( 1, tqRgb(0,0,0) ); } else if ( !trucol ) { // pixmap with colormap - register uchar *p; + uchar *p; uchar *end; uchar use[256]; // pixel-in-use table uchar pix[256]; // pixel translation table |