util/dsymtable.cc
changeset 721 5dc33058e041
parent 596 4efb11e44065
child 972 bc90dd4bbf4f
--- a/util/dsymtable.cc	Thu Nov 08 17:31:29 2012 +0000
+++ b/util/dsymtable.cc	Thu Nov 08 17:31:50 2012 +0000
@@ -37,9 +37,6 @@
 
 
 
-
-
-
  /* clear all entries... */
 template<typename value_type, value_type null_value>
 void dsymtable_c<value_type, null_value>::reset(void) {
@@ -88,26 +85,6 @@
 
 
 
-/* Determine how many entries are associated to key identifier_str */ 
-/* returns:
- *         0: if no entry is found
- *         1: if 1 entry is found
- *         2: if more than 1 entry is found 
- */
-template<typename value_type, value_type null_value>
-int dsymtable_c<value_type, null_value>::multiplicity(const char *identifier_str) {
-  iterator lower = _base.lower_bound(identifier_str);
-  if (lower == _base.end()) return 0;
-
-  iterator upper = _base.upper_bound(identifier_str);
-  iterator second = lower;
-  second++;
-  
-  if (second == upper) return 1;
-  
-  return 2;
-}
-
 
 /* returns null_value if not found! */
 template<typename value_type, value_type null_value>