From c11e7ffd0ef0f34c00447efc1a95b57e3078f06f Mon Sep 17 00:00:00 2001 From: marxin Date: Thu, 21 Feb 2019 20:24:29 +0100 Subject: Fix warnings seen with -Wignored-qualifiers. --- core/ustring.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/ustring.cpp') 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); } -- cgit v1.2.3