diff options
author | marxin <mliska@suse.cz> | 2019-02-21 20:24:29 +0100 |
---|---|---|
committer | marxin <mliska@suse.cz> | 2019-02-21 20:24:29 +0100 |
commit | c11e7ffd0ef0f34c00447efc1a95b57e3078f06f (patch) | |
tree | bb59359bec5b68ea7804c3243ff298cb6b758978 /core/ustring.cpp | |
parent | a01dca79e2f7b7cb221a4c416cade4fad2941446 (diff) | |
download | redot-engine-c11e7ffd0ef0f34c00447efc1a95b57e3078f06f.tar.gz |
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); } |