diff options
author | Michele Calgaro <[email protected]> | 2020-01-30 20:17:32 +0900 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2021-02-02 00:33:10 +0100 |
commit | 7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e (patch) | |
tree | 59a3ce045c4768ecdc5ea99da560934619fbb0a9 /src/tools/qgcache.cpp | |
parent | d8d67a842b11ba1b0c2ce83d7168670941499dbf (diff) | |
download | qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.tar.gz qt3-7e66c403623bdb20b01ff05ebc5e2dfc30f15b3e.zip |
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 961eb3f6e276b4a3609328a3076ef790026e9c03)
Diffstat (limited to 'src/tools/qgcache.cpp')
-rw-r--r-- | src/tools/qgcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qgcache.cpp b/src/tools/qgcache.cpp index 3c70d9f..51542e7 100644 --- a/src/tools/qgcache.cpp +++ b/src/tools/qgcache.cpp @@ -589,7 +589,7 @@ bool QGCache::makeRoomFor( int cost, int priority ) return FALSE; // than maximum cost if ( priority == -1 ) priority = 32767; - register QCacheItem *ci = lruList->last(); + QCacheItem *ci = lruList->last(); int cntCost = 0; int dumps = 0; // number of items to dump while ( cntCost < cost && ci && ci->skipPriority <= priority ) { |