Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid a benign std::vector range assertion (fixes #64)
The expression `&data[pos]` may assert on certain compilers when `pos` is equal to the vector size. Since we're fine with getting an "after-last" element pointer, replace it with a non-asserting expression.
- Loading branch information