diff options
author | Juan Linietsky <reduzio@gmail.com> | 2014-12-17 09:14:25 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2014-12-17 09:14:25 -0300 |
commit | 8347e008c2a23a7bab6b7847d02204c0cee54fb0 (patch) | |
tree | abe886fcad8306f25902ed211b16dfed31b97399 | |
parent | c8b2a5f64a44484b566bc1e2aa12aa36850f107e (diff) |
-removed annoying pragma
-rw-r--r-- | core/variant.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/variant.h b/core/variant.h index a2f4a63e6c..47fc3f43ac 100644 --- a/core/variant.h +++ b/core/variant.h @@ -167,7 +167,7 @@ public: static String get_type_name(Variant::Type p_type); static bool can_convert(Type p_type_from,Type p_type_to); -#pragma runtime_checks( "", off ) + template<class T> static Type get_type_for() { @@ -177,7 +177,7 @@ public: Type r = v.get_type(); return r; } -#pragma runtime_checks( "", restore ) + bool is_ref() const; _FORCE_INLINE_ bool is_num() const { return type==INT || type==REAL; }; |