summaryrefslogtreecommitdiff
path: root/tools/doc/doc_data.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2016-05-04 08:35:45 +0200
committerRémi Verschelde <remi@verschelde.fr>2016-05-04 08:35:45 +0200
commitdb0fde9d39687937567c208e989cf25b15e09af4 (patch)
tree8d7a3a1bf0401cedba2463812486539db1e68297 /tools/doc/doc_data.cpp
parent3279ad79c3dcecbb2c5c001775d7a28f982e0955 (diff)
parent9424c6c58f0b33f06807936958978e907574a845 (diff)
Merge pull request #4541 from vnen/pr-fix-win64-build
Fix windows 64-bits build.
Diffstat (limited to 'tools/doc/doc_data.cpp')
-rw-r--r--tools/doc/doc_data.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/doc/doc_data.cpp b/tools/doc/doc_data.cpp
index 4232a6480d..dc2150e6cc 100644
--- a/tools/doc/doc_data.cpp
+++ b/tools/doc/doc_data.cpp
@@ -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