diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-05-04 18:30:57 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-05-04 18:30:57 -0300 |
commit | 2d396fb71070f282b6858cb77efac1c948b6b4a9 (patch) | |
tree | f4328a7d6e65dcdf0ef6ccfc6ec783c2bd783db4 /core/variant.h | |
parent | 6f8bd899311d459b9e391b4acf72ccfa5cc1d806 (diff) |
-More strict argument type-checking, will make many bugs visible, fixes #1809
-added NOTIFICATION_INSTANCED
Diffstat (limited to 'core/variant.h')
-rw-r--r-- | core/variant.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/variant.h b/core/variant.h index 85c7b92c0d..5f338ef667 100644 --- a/core/variant.h +++ b/core/variant.h @@ -165,7 +165,8 @@ public: _FORCE_INLINE_ Type get_type() const { return type; } static String get_type_name(Variant::Type p_type); - static bool can_convert(Type p_type_from,Type p_type_to); + static bool can_convert(Type p_type_from, Type p_type_to); + static bool can_convert_strict(Type p_type_from, Type p_type_to); |