Merge pull request #66031 from qarmin/compile_regex_editor

Add missing constructor, to compile editor without regex module
This commit is contained in:
Rémi Verschelde 2022-09-18 10:52:45 +02:00
commit 58e5863f9a
1 changed files with 2 additions and 0 deletions

View File

@ -3950,6 +3950,8 @@ String ProjectConverter3To4::collect_string_from_vector(Vector<String> &vector)
#else // No RegEx. #else // No RegEx.
ProjectConverter3To4::ProjectConverter3To4(int _p_maximum_file_size_kb, int _p_maximum_line_length) {}
int ProjectConverter3To4::convert() { int ProjectConverter3To4::convert() {
ERR_FAIL_V_MSG(ERROR_CODE, "Can't run converter for Godot 3.x projects, because RegEx module is disabled."); ERR_FAIL_V_MSG(ERROR_CODE, "Can't run converter for Godot 3.x projects, because RegEx module is disabled.");
} }