Przeglądaj źródła

further refinements

David Rose 24 lat temu
rodzic
commit
725724bd72
1 zmienionych plików z 1 dodań i 1 usunięć
  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>
 INLINE bool ordered_vector<Key, Compare>::
 empty() const {
-  return _vector.max_size();
+  return _vector.empty();
 }
 
 ////////////////////////////////////////////////////////////////////