diff options
| author | Ignacio Etcheverry | 2017-08-20 14:28:22 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-20 14:28:22 +0200 |
| commit | af4c4397dff5672da42f93e80426a855135b3e28 (patch) | |
| tree | 39e6fc6ff29cd2f127c189d88de38f57cff44ba1 /core | |
| parent | 7e5890d23d882547ae465fb7756b74be5bc1f62b (diff) | |
| download | godot-af4c4397dff5672da42f93e80426a855135b3e28.tar.gz godot-af4c4397dff5672da42f93e80426a855135b3e28.tar.zst godot-af4c4397dff5672da42f93e80426a855135b3e28.zip | |
Diffstat (limited to 'core')
| -rw-r--r-- | core/reference.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/reference.h b/core/reference.h index 7f48f8323..69250a470 100644 --- a/core/reference.h +++ b/core/reference.h @@ -374,6 +374,10 @@ struct PtrToArg<const RefPtr &> { } }; +#endif // PTRCALL_ENABLED + +#ifdef DEBUG_METHODS_ENABLED + template <class T> struct GetTypeInfo<Ref<T> > { enum { VARIANT_TYPE = Variant::OBJECT }; @@ -392,5 +396,6 @@ struct GetTypeInfo<const Ref<T> &> { } }; -#endif +#endif // DEBUG_METHODS_ENABLED + #endif // REFERENCE_H |
