summaryrefslogtreecommitdiffstats
path: root/src/tools/qgcache.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-01-30 20:17:32 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-01 23:39:38 +0100
commit961eb3f6e276b4a3609328a3076ef790026e9c03 (patch)
treef27de88e666ac3e067e01b15ac60a103eb3c559f /src/tools/qgcache.cpp
parentb08a6d71ba872e67b75a822fcd44670126975818 (diff)
downloadqt3-961eb3f6e276b4a3609328a3076ef790026e9c03.tar.gz
qt3-961eb3f6e276b4a3609328a3076ef790026e9c03.zip
Removed explicit usage of the 'register' keyword.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tools/qgcache.cpp')
-rw-r--r--src/tools/qgcache.cpp2
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 ) {