diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-01-30 20:17:32 +0900 |
| commit | 99e56ba8db70324cc5c7ab416a3b48171613bd59 (patch) | |
| tree | 52fe52817fe45a81a7e03254b614b67587d83e37 /src/tools/qgcache.cpp | |
| parent | 630dcedfb398b350522742f0ab4d1255ac84da85 (diff) | |
| download | tqt-99e56ba8db70324cc5c7ab416a3b48171613bd59.tar.gz tqt-99e56ba8db70324cc5c7ab416a3b48171613bd59.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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/qgcache.cpp b/src/tools/qgcache.cpp index 7d6d7d415..07a91fd26 100644 --- a/src/tools/qgcache.cpp +++ b/src/tools/qgcache.cpp @@ -589,7 +589,7 @@ bool TQGCache::makeRoomFor( int cost, int priority ) return FALSE; // than maximum cost if ( priority == -1 ) priority = 32767; - register TQCacheItem *ci = lruList->last(); + TQCacheItem *ci = lruList->last(); int cntCost = 0; int dumps = 0; // number of items to dump while ( cntCost < cost && ci && ci->skipPriority <= priority ) { |
