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"