diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-22 09:55:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-02-22 09:55:27 +0100 |
| commit | 726f31e992f544b73d8209eb95cc3d4ee501a0f0 (patch) | |
| tree | 1d0631bd46efc30bb32ccc73c3797c322ad1150f /core/ustring.cpp | |
| parent | c700d714bb8dad0b6aae525f880d2ee2d679e7b6 (diff) | |
| parent | c11e7ffd0ef0f34c00447efc1a95b57e3078f06f (diff) | |
Merge pull request #26132 from marxin/fix-Wignored-qualifiers
Fix warnings seen with -Wignored-qualifiers.
Diffstat (limited to 'core/ustring.cpp')
| -rw-r--r-- | core/ustring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 17b52035dd..b9914fb530 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -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); } |