$NetBSD: patch-af,v 1.1 2005/12/11 22:03:39 joerg Exp $ --- tmap.h.orig 2005-12-11 21:46:52.000000000 +0000 +++ tmap.h @@ -54,7 +54,7 @@ class tmap: public tmap_base { // new functionality /// return whether an element with key is contained or not - bool contains(const K& key) const { return find(key) != end(); } + bool contains(const K& key) const { return find(key) != this->end(); } /// access element read only (const) // g++ 2.95.2 does not allow this: // const T& operator[](const K& key) const { const_iterator i = find(key); if(i != end()) return i->second; else throw TNotFoundException(); } // throw(TNotFoundException)