Changeset 377:33fe0ee01dc5 in lemon-0.x for src/work/deba/vector_map.h
- Timestamp:
- 04/22/04 18:36:57 (20 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@507
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/work/deba/vector_map.h
r340 r377 35 35 36 36 void add(const K& key) { 37 container.resize(key->id); 37 if (key->id() >= container.size()) { 38 container.resize(key->id() + 1); 39 } 38 40 } 39 41 … … 44 46 45 47 Container container; 46 } 48 }; 47 49 48 50 #endif
Note: See TracChangeset
for help on using the changeset viewer.