gravatar
kpeter (Peter Kovacs)
kpeter@inf.elte.hu
Bug fix in maps.h.
0 1 0
default
1 file changed with 2 insertions and 2 deletions:
↑ Collapse diff ↑
Ignore white space 4 line context
... ...
@@ -1352,5 +1352,5 @@
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,5 +1409,5 @@
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
      }
0 comments (0 inline)