diff options
author | albert-github <albert.tests@gmail.com> | 2018-11-27 10:34:55 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-11-27 10:34:55 (GMT) |
commit | b6101af96fb793d9e9bdc0c34f0690545f3a1e56 (patch) | |
tree | 75537b0958a7d24c92b2b06ac64f3e20914faa6c /qtools/qgcache.cpp | |
parent | 8c7b1352474e4da5024cfc3ecc25a486b1d4ef2a (diff) | |
download | Doxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.zip Doxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.tar.gz Doxygen-b6101af96fb793d9e9bdc0c34f0690545f3a1e56.tar.bz2 |
Keyword register (in code) is deprecated since C++11
The keyword `register` is deprecated since C++11:
- for the Darwin platform it was already filtered (-Wno-deprecated-register)
- CLan emits: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
Diffstat (limited to 'qtools/qgcache.cpp')
-rw-r--r-- | qtools/qgcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qtools/qgcache.cpp b/qtools/qgcache.cpp index 683c2a7..03150fe 100644 --- a/qtools/qgcache.cpp +++ b/qtools/qgcache.cpp @@ -577,7 +577,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 ) { |