Do not include Ref.hpp file in Reference.hpp

This commit is contained in:
RameshRavone
2018-01-24 15:18:30 +05:30
parent af760b9f37
commit 4aec7cbf42

View File

@@ -77,7 +77,7 @@ def generate_class_header(used_classes, c):
# Ref<T> is not included in object.h in Godot either, # Ref<T> is not included in object.h in Godot either,
# so don't include it here because it's not needed # 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>") source.append("#include <core/Ref.hpp>")