diff options
Diffstat (limited to 'editor/plugins/text_shader_editor.cpp')
-rw-r--r-- | editor/plugins/text_shader_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/text_shader_editor.cpp b/editor/plugins/text_shader_editor.cpp index 98d83b6e95..fe8fb79c56 100644 --- a/editor/plugins/text_shader_editor.cpp +++ b/editor/plugins/text_shader_editor.cpp @@ -473,7 +473,7 @@ void ShaderTextEditor::_validate_script() { if (last_compile_result != OK) { //preprocessor error - ERR_FAIL_COND(err_positions.size() == 0); + ERR_FAIL_COND(err_positions.is_empty()); String err_text = error_pp; int err_line = err_positions.front()->get().line; |