diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-11-26 15:11:22 +0900 |
| commit | b87533f9904c10f24d6b2e8177c00944e3efe15b (patch) | |
| tree | c1106a381c851b51e86004698457aef1211b77be /doc/html/qintcache-h.html | |
| parent | 894037c3e68e1573a34183d936171f8cda5085f3 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qintcache-h.html')
| -rw-r--r-- | doc/html/qintcache-h.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/html/qintcache-h.html b/doc/html/qintcache-h.html index 172342809..825fdc4f7 100644 --- a/doc/html/qintcache-h.html +++ b/doc/html/qintcache-h.html @@ -93,7 +93,7 @@ class TQIntCache public: TQIntCache( const TQIntCache<type> &c ) : TQGCache(c) {} TQIntCache( int maxCost=100, int size=17 ) - : TQGCache( maxCost, size, IntKey, FALSE, FALSE ) {} + : TQGCache( maxCost, size, IntKey, false, false ) {} ~TQIntCache() { clear(); } TQIntCache<type> &operator=( const TQIntCache<type> &c ) { return (TQIntCache<type>&)TQGCache::operator=(c); } @@ -110,7 +110,7 @@ public: type *take( long k ) { return (type *)TQGCache::take_other((const char*)k);} void clear() { TQGCache::clear(); } - type *find( long k, bool ref=TRUE ) const + type *find( long k, bool ref=true ) const { return (type *)TQGCache::find_other( (const char*)k,ref);} type *operator[]( long k ) const { return (type *)TQGCache::find_other( (const char*)k); } |
