Add const lvalue ref to core/* container parameters

This commit is contained in:
Muller-Castro committed 2024-02-14 11:20:36 -03:00
1 parent 907db8eebc
commit a8bc9f3e78
92 files changed
+346 -346

No files matched your search

+1 -1
View File
@@ -2597,7 +2597,7 @@ void GDScriptLanguage::get_reserved_words(List<String> *p_words) const {
}
}
bool GDScriptLanguage::is_control_flow_keyword(String p_keyword) const {
bool GDScriptLanguage::is_control_flow_keyword(const String &p_keyword) const {
// Please keep alphabetical order.
return p_keyword == "break" ||
p_keyword == "continue" ||