Fix warnings seen with -Wignored-qualifiers.

This commit is contained in:
marxin 2019-02-21 20:24:29 +01:00
parent a01dca79e2
commit c11e7ffd0e
6 changed files with 10 additions and 12 deletions

View file

@ -2393,7 +2393,7 @@ int String::find(const char *p_str, int p_from) const {
return -1;
}
int String::find_char(CharType p_char, int p_from) const {
int String::find_char(const CharType &p_char, int p_from) const {
return _cowdata.find(p_char, p_from);
}