Merge pull request #86966 from Muller-Castro/value2ref-core
Add const lvalue ref to `core/*` container parameters
This commit is contained in:
commit
ef5d6ccfb7
92 changed files with 346 additions and 346 deletions
|
|
@ -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" ||
|
||||
|
|
|
|||
|
|
@ -540,7 +540,7 @@ public:
|
|||
|
||||
/* EDITOR FUNCTIONS */
|
||||
virtual void get_reserved_words(List<String> *p_words) const override;
|
||||
virtual bool is_control_flow_keyword(String p_keywords) const override;
|
||||
virtual bool is_control_flow_keyword(const String &p_keywords) const override;
|
||||
virtual void get_comment_delimiters(List<String> *p_delimiters) const override;
|
||||
virtual void get_doc_comment_delimiters(List<String> *p_delimiters) const override;
|
||||
virtual void get_string_delimiters(List<String> *p_delimiters) const override;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue