boostorg / wave

Boost.org wave module
http://boost.org/libs/wave
21 stars 49 forks source link

Clarify loop logic to satisfy a Clang warning #113

Closed jefftrull closed 4 years ago

jefftrull commented 4 years ago

Clang warns that a for loop in a sample increments an iterator in both the header and the body. This seems to be done on purpose to skip whitespace. I used std::advance in the header instead, for clarity.

Also cleaned up an unused type in the same file while I was there.

If merged, this will resolve #90