From 902dae29797789d406faf256a22aa73b7f6d5261 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 8 Feb 2022 11:52:53 +0100 Subject: [PATCH] Work on fixing compile for 4.0. --- fast_quadratic_mesh_simplifier.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fast_quadratic_mesh_simplifier.h b/fast_quadratic_mesh_simplifier.h index b69805b..b63d53e 100644 --- a/fast_quadratic_mesh_simplifier.h +++ b/fast_quadratic_mesh_simplifier.h @@ -28,7 +28,10 @@ SOFTWARE. #include "core/version.h" #if VERSION_MAJOR > 3 -#include "core/object/reference.h" +#include "core/object/ref_counted.h" +#ifndef Reference +#define Reference RefCounted +#endif #include "core/variant/array.h" #else #include "core/reference.h"