David Rose 24 лет назад
Родитель
Сommit
fca4e4ebfb
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      panda/src/putil/ordered_vector.I
  2. 1 1
      panda/src/putil/ordered_vector.h

+ 1 - 1
panda/src/putil/ordered_vector.I

@@ -850,7 +850,7 @@ insert(ordered_vector<Key, Compare>::iterator position,
 //  Description: Maps to insert_nonunique().
 //  Description: Maps to insert_nonunique().
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////
 template<class Key, class Compare>
 template<class Key, class Compare>
-INLINE pair<ov_multiset<Key, Compare>::iterator, bool> ov_multiset<Key, Compare>::
+INLINE ov_multiset<Key, Compare>::iterator ov_multiset<Key, Compare>::
 insert(const ordered_vector<Key, Compare>::value_type &key) {
 insert(const ordered_vector<Key, Compare>::value_type &key) {
   return ordered_vector::insert_nonunique(key);
   return ordered_vector::insert_nonunique(key);
 }
 }

+ 1 - 1
panda/src/putil/ordered_vector.h

@@ -231,7 +231,7 @@ public:
   INLINE ov_multiset<Key, Compare> &operator = (const ov_multiset<Key, Compare> &copy);
   INLINE ov_multiset<Key, Compare> &operator = (const ov_multiset<Key, Compare> &copy);
 
 
   INLINE iterator insert(iterator position, const value_type &key);
   INLINE iterator insert(iterator position, const value_type &key);
-  INLINE pair<iterator, bool> insert(const value_type &key);
+  INLINE iterator insert(const value_type &key);
 
 
   INLINE void sort();
   INLINE void sort();
 };
 };