summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-09-18 10:52:45 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-09-18 10:52:45 +0200
commit58e5863f9a4e4d448c6e8ba48064cadedd5744a8 (patch)
tree2725bf0d6f9d54134e8a2723bb2e147df5de4b33
parentc6e5c7653610c1e8321610a75cc6dc97cd7c51df (diff)
parent4e7cf3d91906b94b1c130a1ac0f2f6ae9c11c1fd (diff)
Merge pull request #66031 from qarmin/compile_regex_editor
Add missing constructor, to compile editor without regex module
-rw-r--r--editor/project_converter_3_to_4.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp
index 39b30b31fb..3d46864b02 100644
--- a/editor/project_converter_3_to_4.cpp
+++ b/editor/project_converter_3_to_4.cpp
@@ -3950,6 +3950,8 @@ String ProjectConverter3To4::collect_string_from_vector(Vector<String> &vector)
#else // No RegEx.
+ProjectConverter3To4::ProjectConverter3To4(int _p_maximum_file_size_kb, int _p_maximum_line_length) {}
+
int ProjectConverter3To4::convert() {
ERR_FAIL_V_MSG(ERROR_CODE, "Can't run converter for Godot 3.x projects, because RegEx module is disabled.");
}