Merge pull request #87 from RameshRavone/patch-24

Do not include Ref.hpp file in Reference.hpp
pull/89/head
Thomas Herzog 2018-01-24 12:14:53 +01:00 committed by GitHub
commit 9ed6edaae1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ def generate_class_header(used_classes, c):
# Ref<T> is not included in object.h in Godot either,
# so don't include it here because it's not needed
if class_name != "Object":
if class_name != "Object" and class_name != "Reference":
source.append("#include <core/Ref.hpp>")