Changeset 30:72364ba3466d in lemon-1.0 for lemon
- Timestamp:
- 01/04/08 08:16:15 (17 years ago)
- Branch:
- default
- Children:
- 31:742abd64255e, 33:d794ec195ec0
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/maps.h
r29 r30 1352 1352 void set(const Key& key, Value value) { 1353 1353 if (value) { 1354 container.push_front( key);1354 container.push_front(functor(key)); 1355 1355 } 1356 1356 } … … 1409 1409 void set(const Key& key, Value value) { 1410 1410 if (value) { 1411 it = container.insert(it, key);1411 it = container.insert(it, functor(key)); 1412 1412 ++it; 1413 1413 }
Note: See TracChangeset
for help on using the changeset viewer.