Browse Source

further refinements

David Rose 24 years ago
parent
commit
725724bd72
1 changed files with 1 additions and 1 deletions
  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();
 }
 
 ////////////////////////////////////////////////////////////////////