summaryrefslogtreecommitdiff
path: root/core/func_ref.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/func_ref.h')
-rw-r--r--core/func_ref.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/func_ref.h b/core/func_ref.h
index 1d1ca47ad7..6b0b22bab5 100644
--- a/core/func_ref.h
+++ b/core/func_ref.h
@@ -34,7 +34,6 @@
#include "core/reference.h"
class FuncRef : public Reference {
-
GDCLASS(FuncRef, Reference);
ObjectID id;
StringName function;
@@ -43,12 +42,13 @@ protected:
static void _bind_methods();
public:
- Variant call_func(const Variant **p_args, int p_argcount, Variant::CallError &r_error);
+ Variant call_func(const Variant **p_args, int p_argcount, Callable::CallError &r_error);
Variant call_funcv(const Array &p_args);
void set_instance(Object *p_obj);
void set_function(const StringName &p_func);
bool is_valid() const;
- FuncRef();
+
+ FuncRef() {}
};
#endif // FUNC_REF_H