Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Turns out remove_const alone only removes the const from the pointer, not from the type itself, so the expression wasn't returning true. This strips the pointer out before removing const and matches against char instead of char* (cherry-picked from commit a7e1ff8)
- Loading branch information
Showing
1 changed file
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters