summaryrefslogtreecommitdiffstats
path: root/editor/plugins/text_shader_editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'editor/plugins/text_shader_editor.h')
-rw-r--r--editor/plugins/text_shader_editor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/text_shader_editor.h b/editor/plugins/text_shader_editor.h
index 73d7de98e4..be16148744 100644
--- a/editor/plugins/text_shader_editor.h
+++ b/editor/plugins/text_shader_editor.h
@@ -165,7 +165,7 @@ class TextShaderEditor : public MarginContainer {
void _reload_shader_include_from_disk();
void _reload();
void _show_warnings_panel(bool p_show);
- void _warning_clicked(Variant p_line);
+ void _warning_clicked(const Variant &p_line);
void _update_warnings(bool p_validate);
void _script_validated(bool p_valid) {