Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SmallVector.h: avoid casting away constness
Casting to `void*` removes constness if `T` is a `const` type. Even though the casting here is safe (i.e., no modifications are made), some compilers warn about the cast anway. Avoid casting away constness to remove some picky compiler warnings.
- Loading branch information