You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Fix windows 64-bits build.
The change in `tools/doc/doc_data.cpp` is needed because the MSVC
compiler does not support variable length arrays.
Fix #4113
(cherry picked from commit 9424c6c58f)
This commit is contained in:
committed by
Rémi Verschelde
parent
3449c81bdb
commit
4f57e532b8
@@ -64,7 +64,7 @@ void DocData::merge_from(const DocData& p_data) {
|
||||
// since polymorphic functions are allowed we need to check the type of
|
||||
// the arguments so we make sure they are different.
|
||||
int arg_count = cf.methods[j].arguments.size();
|
||||
bool arg_used[arg_count];
|
||||
bool* arg_used = new bool[arg_count];
|
||||
for (int l = 0; l < arg_count; ++l) arg_used[l] = false;
|
||||
// also there is no guarantee that argument ordering will match, so we
|
||||
// have to check one by one so we make sure we have an exact match
|
||||
|
||||
Reference in New Issue
Block a user