Browse Source

compiler support for egcs-2.91.66

David Rose 23 years ago
parent
commit
a58f764b8b
1 changed files with 6 additions and 0 deletions
  1. 6 0
      panda/src/putil/ordered_vector.h

+ 6 - 0
panda/src/putil/ordered_vector.h

@@ -255,6 +255,9 @@ private:
 template<class Key, class Compare = less<Key> >
 class ov_set : public ordered_vector<Key, Compare> {
 public:
+  typedef ordered_vector<Key, Compare>::ITERATOR ITERATOR;
+  typedef ordered_vector<Key, Compare>::VALUE_TYPE VALUE_TYPE;
+
   INLINE ov_set(const Compare &compare = Compare());
   INLINE ov_set(const ov_set<Key, Compare> &copy);
   INLINE ov_set<Key, Compare> &operator = (const ov_set<Key, Compare> &copy);
@@ -275,6 +278,9 @@ public:
 template<class Key, class Compare = less<Key> >
 class ov_multiset : public ordered_vector<Key, Compare> {
 public:
+  typedef ordered_vector<Key, Compare>::ITERATOR ITERATOR;
+  typedef ordered_vector<Key, Compare>::VALUE_TYPE VALUE_TYPE;
+
   INLINE ov_multiset(const Compare &compare = Compare());
   INLINE ov_multiset(const ov_multiset<Key, Compare> &copy);
   INLINE ov_multiset<Key, Compare> &operator = (const ov_multiset<Key, Compare> &copy);