Can you add some spaces? I.e.:
```
if ( current_data.time != curr_time || last.find(current_data.type) == last.end() )
```