David Rose пре 24 година
родитељ
комит
725724bd72
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      panda/src/putil/ordered_vector.I

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

@@ -215,7 +215,7 @@ max_size() const {
 template<class Key, class Compare>
 template<class Key, class Compare>
 INLINE bool ordered_vector<Key, Compare>::
 INLINE bool ordered_vector<Key, Compare>::
 empty() const {
 empty() const {
-  return _vector.max_size();
+  return _vector.empty();
 }
 }
 
 
 ////////////////////////////////////////////////////////////////////
 ////////////////////////////////////////////////////////////////////