diff options
| author | 2015-11-18 20:06:43 +0000 | |
|---|---|---|
| committer | 2015-11-18 20:06:43 +0000 | |
| commit | a341377bd5eb7cef471cb29a382e1614523e5a6c (patch) | |
| tree | fef4985987c931d4705c012700c7d4fdac0bbd82 | |
| parent | 9231730cd0e285373afd73331168b289309ebee4 (diff) | |
| parent | 055b5f352854aaa92289bcd320a393d201ebf26b (diff) | |
Merge "Remove incorrect iterator increment"
| -rw-r--r-- | runtime/lambda/box_table.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/lambda/box_table.cc b/runtime/lambda/box_table.cc index 8eef10bbad..9918bb71f3 100644 --- a/runtime/lambda/box_table.cc +++ b/runtime/lambda/box_table.cc @@ -62,7 +62,7 @@ BoxTable::BoxTable() BoxTable::~BoxTable() { // Free all the copies of our closures. - for (auto map_iterator = map_.begin(); map_iterator != map_.end(); ++map_iterator) { + for (auto map_iterator = map_.begin(); map_iterator != map_.end(); ) { std::pair<UnorderedMapKeyType, ValueType>& key_value_pair = *map_iterator; Closure* closure = key_value_pair.first; |