X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=ginac%2Fhash_map.h;h=a8e497e1e0e6fdb6655bb070bbf64f6ae1a97bed;hp=a82bddeea77293d5d1abe0693352203f38f9a649;hb=1531cd76f7b2159647bfddb0d9e9cc9b2a98b94e;hpb=6d225ee55693c0617d254e6fa283c00c71bd2919 diff --git a/ginac/hash_map.h b/ginac/hash_map.h index a82bddee..a8e497e1 100644 --- a/ginac/hash_map.h +++ b/ginac/hash_map.h @@ -3,7 +3,7 @@ * Replacement for map<> using hash tables. */ /* - * GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany + * GiNaC Copyright (C) 1999-2007 Johannes Gutenberg University Mainz, Germany * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ #ifndef __GINAC_HASH_MAP_H__ @@ -431,6 +431,7 @@ public: return !(lhs == rhs); } +#if 0 void dump() const { std::clog << "num_entries = " << num_entries << std::endl; @@ -441,6 +442,7 @@ public: std::clog << (it->first == EMPTY ? "free" : (it->first == USED ? "used" : "erased")) << ", " << it->second.first << " -> " << it->second.second << std::endl; } } +#endif }; /** Return pointer to bucket corresponding to key (or first empty bucket). */