diff options
Diffstat (limited to 'src/corelib/tools/qcache.h')
-rw-r--r-- | src/corelib/tools/qcache.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/tools/qcache.h b/src/corelib/tools/qcache.h index 960e0422a1..80fdb8c9cd 100644 --- a/src/corelib/tools/qcache.h +++ b/src/corelib/tools/qcache.h @@ -83,7 +83,7 @@ class QCache Q_DISABLE_COPY(QCache) public: - inline explicit QCache(int maxCost = 100); + inline explicit QCache(int maxCost = 100) Q_DECL_NOTHROW; inline ~QCache() { clear(); } inline int maxCost() const { return mx; } @@ -110,7 +110,7 @@ private: }; template <class Key, class T> -inline QCache<Key, T>::QCache(int amaxCost) +inline QCache<Key, T>::QCache(int amaxCost) Q_DECL_NOTHROW : f(0), l(0), mx(amaxCost), total(0) {} template <class Key, class T> |