danmar/cppcheck — comment on commit 612b3c59ca85d5f33f30ab0c4ce2457567962ea8
File: lib/tokenize.cpp line 9365
By edward-san:

Just to be clear, instead of using:

```C++
bool offset = (tok->next()->str() == "const");

if (tok->strAt(3 + offset) != "{") {
tok->deleteNext(4+offset);
tok = tok->previous();
}
```

is it okay to use:

```C++
bool offset = (tok->next()->str() == "const");

if (tok->strAt(3 + offset ? 1 : 0) != "{") {
tok->deleteNext(4+offset ? 1 : 0);
tok = tok->previous();
}
```

?